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).
Here is the scenario: * User authorizes once, the data gets stored in session storage. * Without closing the browser, user reloads the application. Now, since the `automaticSilentRenew` is `true`...
Bumps [jest-mock](https://github.com/facebook/jest/tree/HEAD/packages/jest-mock) from 27.5.1 to 28.1.3. Release notes Sourced from jest-mock's releases. v28.1.3 Features [jest-leak-detector] Use native FinalizationRegistry when it exists to get rid of external C dependency (#12973) Fixes...
Hi@all When I refresh the page, I get logged out. Reproduce: 1. Click login button 2. Login via keycloak/openid 3. Redirect back (address is: https://helpme.test/de/admin/organizations?state=311b124c928e4cd3a5b282fd16dd4475&session_state=2793988e-f78f-4d42-8164-61ab7697af9e&code=4bdf7c6d-7d29-4d8c-95a9-0913b62591a7.2793988e-f78f-4d42-8164-61ab7697af9e.e1f6f519-030c-4204-beab-f4dfe064baa7) 4. Refresh page (Command+R) 5....
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.6.4 to 4.7.4. Release notes Sourced from typescript's releases. TypeScript 4.7.4 For release notes, check out the release announcement. For the complete list of fixed issues, check...
There is a feature in oidc-client-js which can check session via /connect/checksession Endpoint. When the session in OP is changed, the client will raise and session Changed event. But this...
(This can be either documentation request or a new feature request, I am not sure) My react app uses Redux to store user info, and I am trying to set...
In the documentation, it is stated > You still need to setup a redirect uri, which must point to your application, but you do not need to create that route....
I did this ``` useEffect(() => auth.events.addUserLoaded(() => { dispatch({ type: UserActionTypes.SET_LOGGED_IN_USER, payload: auth, }); navigate(ROUTES.LOCATION); }), [auth.events]); ``` in order to set up some post-login state and navigation changes....
Thanks for the great library, took me some time to stumble across it but looks to be exactly what I need. There doesn't appear to be support for multiple instances...
Our project was using `AppAuth-JS` library before discovering this. It is much more succinct and sensible so thank you. One of the challenges faced in using this library: we are...