Closed ctron closed 2 years ago
Hi @ctron, Which browser are you using?
I had issues with both Firefox and Chrome.
This sould be fixed in the futur v4 soon.
Hello !
I have the same kind of issue. In my case, we see the /authorization API endpoint call in a loop. What is strange is that the behavior seems random depending on the user.
Maybe the browser or the InMemoryStorage are having difficulties.
The comming v4 should fix this. There is api breaking change https://www.npmjs.com/package/@axa-fr/react-oidc-context I have to add documentation and more types
Do you still have the problem in v4?
v4 is pretty stable now https://www.npmjs.com/package/@axa-fr/react-oidc-context/v/4.0.0-beta.9
Here you will find a v4 demo https://black-rock-0dc6b0d03.1.azurestaticapps.net/
Thanks!
When I look at it here https://www.npmjs.com/package/@axa-fr/react-oidc-context I see v4 ! Is version 4 merged into master and now stable in use?
It is still young. It works better than v3 in our applications. And the surface api is very small, it will be essieu to maintain.
I think it is pretty stable right now.
I close the issue. Thank you for the issue. Feel free to reopen it.
Issue and Steps to Reproduce
Every now and then, I run into a situation where the script blocks, and continuously loops.
Within seconds, I can see
UserManager.getUser
called thousand times:Versions
3.1.7
Screenshots
See above
Expected
Should neither loop nor block.
Actual
Blocks/loops.
Additional Details