Open
Description
I'm interested in using the OpenId part outside of Apex (*). I have been able to get your code working with Cognito. For Google It seems I'm getting an incomplete JWT token (see below). I'm not entirely sure how to test this with Apex (I would have to dive into the application structure). So I'm hoping you could confirm or deny that Google OpenId was working for you? If not, I might actually propose a fix later on.
Can you confirm you had success with Google? If so, I have broken something.
Error after receiving the JWT token (just before validation):
java.text.ParseException: Invalid serialized unsecured/JWS/JWE object: Missing second delimiter
at com.nimbusds.jose.JOSEObject.split(JOSEObject.java:228)
at com.nimbusds.jwt.SignedJWT.parse(SignedJWT.java:110)
at sun.reflect.GeneratedMethodAccessor107.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:167)
at clojure.lang.Reflector.invokeStaticMethod(Reflector.java:332)
at juxt.apex.alpha.oauth2.jwt$signed_jwt.invokeStatic(jwt.clj:23)
at juxt.apex.alpha.oauth2.jwt$signed_jwt.invoke(jwt.clj:20)
(*) I would love to use Apex for other use cases though!
Metadata
Metadata
Assignees
Labels
No labels