-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Token refresh flow #191
Comments
|
Is there any code example of the token refresh flow in this library? |
@dimkanewtown There is currently no option for explicit refresh. Refresh should happen automatically if you use |
Thank you. |
There's a public method called refreshAccessToken. Can I use that to force the token refresh? |
When the Access Token is expired and I am using the [NXAuth2Request performMethod], it refreshes the token but posts the notification of the 'refresh request' and Not the Original request! Do I have to invoke the original request again ? |
I need to use signedURLRequest , so how do I refresh the token ? |
Hi there, [NXOAuth2Request performMethod:@"GET" but still I am getting 401 after token expired. I don't know where I am missing the things. If somebody can help, I would be really thankful. |
I may not have an understanding of the Token Refresh flow in this library but it seems like when using NXOAuth2Request performMethod:@"GET" method, my original request to the protected resource is getting lost when the access token is expired. It gets replaced with the token refresh! Does the developer need to take that into account in his code ?
Also, when using NXOAuth2Request signedURLRequest method, it never refreshes the expired access token! Am I missing something ?
Any prompt help is appreciated.
Thanks
The text was updated successfully, but these errors were encountered: