react-oidc-context icon indicating copy to clipboard operation
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).

Results 167 react-oidc-context issues
Sort by recently updated
recently updated
newest added

I went through this already existing issue: https://github.com/authts/react-oidc-context/issues/372 But my mock for the `useAuth` function is simply not working. Can someone help please ? I added the below code segment...

question

Hi there, I'm seeking guidance on the best approach for the following scenario: My application has both `admin` and `client` users. Admins can modify client custom `claims` through an admin...

Hi there. Apologies for the basic question: Is there anything I need to be aware of regarding SSO login for multiple React SPA on different sub domains? For example, I'd...

question

I have upgraded to React 18. after that when I load the page, it is not coming out of the loading spinner, authentication is not working. const root = createRoot(document.getElementById('root'));...

question

I have a project created by Vite, which is reactjs with typescript, it works, but the refreshToken is not working, could you help me, when I try to add refresh...

question

I've configured a single logout with `auth.signoutRedirect()` with a logout button in the UI. Here is my configuration: auth config ``` export const oidcConfig: AuthProviderProps = { client_id: '...', authority:...

question

https://github.com/authts/react-oidc-context/blob/8f5d9b47c12831d257eda29c14cab7f1d0134e31/src/AuthProvider.tsx#L42 see [no-invalid-void-type | typescript-eslint](https://typescript-eslint.io/rules/no-invalid-void-type/) I suggest using `user: User | undefined` or `user?: User` instead of `user: User | void`.

bug

When developing a front-end application that requires two or more IDPs (one being done even with another library), the library seems to conflict because it tries to manage code and...

question

Hello, I have a page with several elements and a button that does this action. ```js { auth.signinRedirect({ redirect_uri: window.location.origin + `/path` }); }} > ``` When I click this...

bug
help wanted

Closes/fixes #1216 #1145 Capacitor apps do not trigger signinCallback when returning from the browser to the app. By calling signinCallback manually the user is able to finish authenticaion. Example: CapApp.addListener("appUrlOpen",...