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).
```ts try { const user = await auth.signinResourceOwnerCredentials({ username: values.email, password: values.password, }) console.log(user) } catch (e: any) { console.log("error login !",e) } ``` is this code the catch block...
Keycloak has register function to redirect the user to registration page. keycloak.register({ redirectUri: redirectURI, }); How can i acheive same thing with our library. Thanks in advance
Hello! In our project we want the user to be automatically redirected to the login page of keycloak when visiting the application. It's rougly implemented like this: ```ts // LoginPage.tsx...
Identity provider: keycloak If the users session is terminated via the keycloak admin api, is there a way to check if the user's session still exists? I know we can...
Hii, I was using [react-keycloak](https://github.com/react-keycloak/react-keycloak) for my project , since its unmaintained i am trying to migrate it to [react-oidc-context](https://github.com/authts/react-oidc-context) I am following the documentation in the repo but unfortunately...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.20.5 to 7.23.2. Release notes Sourced from @babel/traverse's releases. v7.23.2 (2023-10-11) NOTE: This release also re-publishes @babel/core, even if it does not appear in the linked release...
As per my knowledge `signinRedirect` return a Promise. I am trying to change the states in my nested components once the login has successfully happened. I am trying to do...
I have keycloak as an authserver and i protected the routes on my app so when i try to access this routes then it redirects to keycloak login. So when...
Hi, I am tring to use react-oidc-context with my Idp and I have a question. Does react-oidc-context support change scope after login? Token endpoint request payload:  But response nothing...