Skip to content
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

More than one Auto Renewal calls are happening in sequence #459

Closed
VijayaSaiRam opened this issue Jul 28, 2022 · 6 comments
Closed

More than one Auto Renewal calls are happening in sequence #459

VijayaSaiRam opened this issue Jul 28, 2022 · 6 comments
Labels
question Further information is requested

Comments

@VijayaSaiRam
Copy link

Hi team,

I am this library for oauth2.0 implementation . It has been observed that, some times it is making two successive calls to token -end point in silent renewal of access_token.
Though first call is successful, it is making the second call immediately to get the access token and refresh token,
and next time ,
when the refresh token used in the previous call is used in token rotation, I am getting the error response from server saying,

{"error_descirption":"Unknown, invalid or expired refresh token" , "error":"invalid_grant"}

Could some one please help me to sort out this issue.

@ahmadichsan
Copy link

I also got the "invalid_grant" error. Maybe this issue related with #390 (comment)

@mrszympek
Copy link

Same problem here!

@pamapa
Copy link
Member

pamapa commented Aug 23, 2022

The root case could be multiple open tabs. The problem is in the underlying library oidc-client-ts. See authts/oidc-client-ts#430

@pamapa pamapa added the question Further information is requested label Jan 18, 2023
@pamapa pamapa changed the title More than on Auto Renewal calls are happening in sequence More than one Auto Renewal calls are happening in sequence Mar 17, 2023
@pamapa pamapa added bug Something isn't working and removed question Further information is requested labels Mar 17, 2023
@timurscribe
Copy link

Same problem here!

@pamapa pamapa added question Further information is requested and removed bug Something isn't working labels Feb 26, 2024
@pamapa
Copy link
Member

pamapa commented Feb 26, 2024

You will need to find out why it fails for your application/IDP. For others including me it works. You can do so by enabling logging like described here: https://github.com/authts/oidc-client-ts/blob/main/docs/index.md#logging

@pamapa
Copy link
Member

pamapa commented Oct 14, 2024

This issue (question) staled some time ago, closing it for now.

@pamapa pamapa closed this as completed Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants