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

Is there a way to restrict no.of re-login attempts, on login failure? #1415

Open
nandeeshwar-p opened this issue Jul 15, 2024 · 1 comment
Open

Comments

@nandeeshwar-p
Copy link

At present when API fails to get the token after acquiring code, infinite no.of calls are made to get the token. Is there a way to restrict the no.of attempts to get the token.

@guillaume-chervet
Copy link
Contributor

hi @nandeeshwar-p ,

I have remove it recently. But sure it can be readded. Which error do you have? I did that change to display session lost only when HTTP 400 occurs (session lost). The browser tab in sleep mode fail to call the OIDC server but tokens are still valid. I did not find the best solution, but may be a number of fail and tab active could bring to a session lost. Or may be a new event throwed after a number of fails attempts that are not =>400 < 500

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants