Comments (3)
UserManager Configuration:
export const userManager = new UserManager({ authority: authority, client_id: clientId, redirect_uri: window.location.origin + window.location.pathname, post_logout_redirect_uri: window.location.origin, monitorSession: true });
I'm using keycloak for authentication.
from oidc-client-ts.
You will need to debug/log your specific application issue. Using https://authts.github.io/oidc-client-ts/#md:logging.
When the authentication process starts this library add a state to the session storage, this state later when the callback is received must be found again.
Store: https://github.com/authts/oidc-client-ts/blob/main/src/OidcClient.ts#L145
Read: https://github.com/authts/oidc-client-ts/blob/main/src/OidcClient.ts#L159
from oidc-client-ts.
@pamapa I'm using keycloak for authentication there is nothing i can debug. Initiallly when i hit the url, keycloak will automatically append the code into url for authentication purpose. So i think oidc is considering the wrong code for authentication as above mentioned. i have a two code keys.
And above mentioned url is working if i'm using react-keycloak/web.
from oidc-client-ts.
Related Issues (20)
- when authorization server doesn't return refresh token
- Serialize a UserManager instance HOT 3
- Expired refresh and access token does not log out user HOT 2
- client_secret required with PKCE HOT 5
- getUser returns a null value HOT 2
- Invalid scopes HOT 1
- login_required error in web browser console when calling signinRedirectCallback HOT 2
- how to handle client-secret store on backend java spring boot HOT 3
- [feat] Could I add params to handle auto-close after iframe load successfully
- [bug] Dont send`scopes` in token endpoint HOT 1
- signinPopup not close after signed in on Firefox
- signinRedirect - Method Name HOT 1
- How to use this package in React-native HOT 1
- Does this package support ES256? HOT 2
- How to get additional AccessToken Response properties from SigninResponse to User object, or make user object extensible. HOT 2
- The return type of `signinCallback` is not properly typed
- Typo in sample app config HOT 1
- What are the requirements for silent refresh or for Vue in general? HOT 6
- UserProfile in session/local storage HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oidc-client-ts.