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, In my application I have set automaticSilentRenew to true and the token is refreshing without the problem. Then I logout in keycloak, so the sessions is not valid anymore....
When the user logs out I call ``` auth.revokeTokens(); auth.removeUser(); ``` But the user can still access a protected route and when I log ``` const auth = useAuth(); console.log(auth);...
I hoped that this sort of thing might be possible ``` .signinRedirect({ extraQueryParams: { Foo: 'Bar' } }) ``` But TypeScript says no. > `Error TS2345 (TS) Argument of type...
Bumps [eslint](https://github.com/eslint/eslint) from 8.48.0 to 8.57.0. Release notes Sourced from eslint's releases. v8.57.0 Features 1120b9b feat: Add loadESLint() API method for v8 (#18098) (Nicholas C. Zakas) dca7d0f feat: Enable eslint.config.mjs...
Hi guys, i'm trying to use this amazing lib in my Ionic Capacitor Android App with React, everything works very well running in the browser (ionic serve), the oidc data...
hello, as I understand from docs and issue responses, `signinRedirect()` should be used to automatically login the app, e.g. after revisiting the url. furthermore, I understand that `signinSilent()` is handled...
How to send the client_assertion with the payload for /token?
I've been trying to use this with Soluto's oidc server mock but for some reason it's very difficult to make the Getting Started app work with it (constantly getting errors)....
I'm using Keycloak with multiple realms, which means I have various combinations of authority / client_id I might initialize with. These can change at run time in my react application...
Could you please provide an example app to show how to use this lib with keycloak?