-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Angular client: After successful login, backend is flooded with token refresh requests #11408
Comments
We use the |
Thanks guys! |
The issue occurs in the delay operator, it takes a max number value 2147483647 (as milliseconds), so when setting the access token lifetime (as seconds) big enough it will reach the limit and causes the unexpected behavior, (ReactiveX/rxjs#3015), The max token lifetime that you can set is : 2863311,52 seconds (approximatively 1 month)
|
Many thanks for the detailed explanation. |
ABP 5.1.2
Angular
EF Core
Hi guys,
I have created an Angular frontend with "abp new" and added Ionic to it.
Added a login dialog and changed authentication to Resource Owner Password Flow.
Login with AuthenticationService.login() is successful and ID token is received.
But then the frontend goes into an indefinite loop, flooding the backend with /connect/token requests to get refresh tokens.
I have not found out, why this happens. The same behaviour is shown when changing back to Authorization Code Flow.
I created a repository where the behaviour can easily be reproduced.
Extract from the server log:
Thanks for your help!
The text was updated successfully, but these errors were encountered: