You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
try {
this.tokenJWT = JWTParser.parse(token);
jwtClaimsSet = tokenJWT.getJWTClaimsSet();
this.claims = jwtClaimsSet.getClaims();
} catch (ParseExceptionex) {
// Access token doesn't need to be JWT at all
}
I tried to change catch clause to catch (Throwable ex), and printed the exception stack, and finally found the reason of failure of Auth0, the Jwks reading was always timeout on my machine.
I add a jwksReadTimeout = 5000 to override the default value(500) to make Auth0 works.
For me, obviously print the original exception help me to determine the root cause of failure.
The text was updated successfully, but these errors were encountered:
When trying to get auth0, I clone this project and add some debug info the following piece in the https://github.com/eclipse-ee4j/soteria/blob/master/impl/src/main/java/org/glassfish/soteria/mechanisms/openid/domain/AccessTokenImpl.java#L63, it always failed, but there is no helpful error message.
I tried to change catch clause to
catch (Throwable ex)
, and printed the exception stack, and finally found the reason of failure of Auth0, the Jwks reading was always timeout on my machine.I add a
jwksReadTimeout = 5000
to override the default value(500) to make Auth0 works.For me, obviously print the original exception help me to determine the root cause of failure.
The text was updated successfully, but these errors were encountered: