react-oidc-context
react-oidc-context copied to clipboard
Lightweight auth library based on oidc-client-ts for React single page applications (SPA). Support for hooks and higher-order components (HOC).
Hi, we are facing a problem with the `auth.isAuthenticated` state while trying to coordinate updates to the auth over multiple tabs. Our user store is in shared localStorage: `userStore: new...
## Description I'm encountering a runtime error when attempting to log out using `react-oidc-context` version `^3.2.0` with a React application (`^19.0.0`) integrated with Keycloak. The error message **"TypeError: Cannot read...
### Context: I see that we would always be logging `AuthProvider context is undefined, please verify you are calling useAuth() as child of a component` when the `AuthProvider` is not...
As a follow-up to https://github.com/authts/react-oidc-context/pull/820#issuecomment-1776754059 I believe that the 'signinPopup' function should return a possibly null value. I ran into a similar issue to the linked comment where the promise...
Hello. ## Problem When I log in, all user data is stored in session storage, which is fine. Additionally, some information obtained from the access token is stored inside a...
I’m running my app within an IFrame, as it’s embedded in the Microsoft Dynamics sidebar. I'm using SignInPopup for authentication, but I’m encountering issues due to how the token is...
When i use init im using two parameters how can i acheive on this keycloakInstance.init({ onLoad: "check-sso", checkLoginIframe: false }) i want to know how can i use this two...