-
Notifications
You must be signed in to change notification settings - Fork 93
refreshToken #5
Comments
I can't as well, did you solve this @sdemoor ? |
Did someone solved it? |
@natanbr yes, here what I'm currently doing:
|
Thanks a lot! @damianobarbati This is the working code:
|
@damianobarbati I'm not sure exactly what you're doing which is making it work for you... My own implementation is pretty minimal and still my refreshToken is undefined :/
I'm not sure what I'm doing wrong, this is almost exactly how it is in the readme (only difference being that I'm handling redirection myself). I get the accessToken just fine but the refresh token is nowhere to be seen. @natanbr What do you mean by "I set the params in the strategy"? |
@AdityaAnand1 double check the following => |
@damianobarbati Ahh, that did it! I didn't realize that was the extra options bits. Thank you! (I didn't see anything like this in the docs though 😕) Here's my working connect route for future lost souls:
|
Yeah the docs really could use some work. |
I checked and it works without |
Hi Friends, |
Hi!
I am not able to access the refreshToken inside the 'new Strategy' callback function.
When logging in it does ask for offline access, and everything works, except for accessing the refreshtoken.
The text was updated successfully, but these errors were encountered: