oidc-react
oidc-react copied to clipboard
AuthContext should handle Authentication Error Response
If any error occurs in Authentication Response, AuthContext skip hasCodeInUrl and enters in a loop calling userManager.signinRedirect() every time.
Maybe hasCodeInUrl should be parse error parameter as specified in the Authentication Error Response specification.
I absolutely agree!
Maybe you wanna contribute to that? We have talked about improving the functionality of hasCodeInUrl
and related functionality before (#313).
@mancioshell what do you think about incorporating the way @pamapa mentioned, where we use oidc-client
native functions? Mind you, have a look at #652. Personally, I think this can be solved with a similar PR like you've made in #552.
Regardless of what you end up doing, thank you so much for contributing! 🙏
Is there any possibility, that you will solve this issue and add some error handling?
Hi @marlena-sliwinska 👋
I don't think anyone is working on this, so feel free to contribute! You can join our Discord server (or post questions here) if you want help with anything in that regard. https://discord.gg/SXMpgmPq5F