Hi there,
I implemented the authentication flow ,s2s, in my web app according your tutorial about nodejs + passport.
now i am trying to add refresh mechanism to it but encountered difficulties.
First, according your docs, refresh token mechanism is supported out of the box in your sdks, thats mean that if i used the passport-auth0 it should work automatically?
secondly, i didnt find any reference of how to implement refresh token mechanism with auth0 + passport.
i can always get the refresh token and manually use it to retrieve new access token with the auth API, but i thought this mechanism already included.
Please if someone can clarify and explain how should i do that or send a reference?
i am sure i wont have problem to use the refresh token in order to grant a new access token. that wasnt my point. i just wonder if there is built in support for refresh token mechanism, if there is one i would be happy to see code example.
thanks, i got it. but it will be great if passport-auth0 will support refresh token as well. currently i am not using the node-auth0 package you mentioned because i am managing sessions in my app and passport-auth0 handle almost everything i need. the only missing piece is the refresh token. so now i should use another library.