Auth0 Home Blog Docs

auth0.js idToken validation fails with RS256 (needed for renewAuth)

auth0
auth0js

#1

I’m trying to implement auto renewing auth sessions, but renewAuth gives an error when JWT Signature is set to HS256.

I changed it to RS256, but now graph.cool is not accepting the idToken.

Does that mean it’s currently not possible, and that I just have to ask the user to log in again after the token expires?


#2

Hi! Did you ever figured this out? Thank you!


#3

@jelena nope but I’m keeping an eye on the new Auth options for graph cool that are currently in beta


#4