Comments (3)
This looks like a duplicate of (#13).
Please reopen if you think there is still an issue.
from ng-oidc-client.
I'm facing the same issue.
On callback.html page, the library cannot find the right settings. Because of this, it tries to load the user from local storage with an undefined key user:undefined:undefined
.
How is it supposed to work? When the login flow starts, the right settings are added to local storage with a prefix + id, but how should the callback know the id and where does it get parsed?
Edit: when setting response_mode:'query'
it stores the user in local storage and redirects back. Do I need to check the local storage for a valid user in my app afterwards?
Edit2: signinSilent
works after redirecting!
from ng-oidc-client.
Hi @malled ,
It's been a while, but from what I remember that shouldn't be necessary. The user loaded event should be caught in oidc-client which loads the user into state. Looks like the signinPopup effect doesn't load a user even though it recieves it in the promise, and I believe we did that to prevent over dispatching duplicate actions.
from ng-oidc-client.
Related Issues (19)
- remove identity$ initial value HOT 5
- Loading config on APP_INITIALIZER HOT 9
- User Found action violates strictActionSerializability NgRx 8 runtime check HOT 3
- ResponseValidator._processSigninParams: Expecting code in response HOT 2
- Endless Page Loading (lazy loading module)
- Update dependencies to reflect Angular 8.x HOT 1
- Strange import from @angular/core HOT 4
- Can't resolve all parameters for OidcFacade
- How to resend failed requests from httpInterceptor upon renewing token asynchronously HOT 1
- Load configuration at run-time as opposed to build-time HOT 8
- Deep import into @ngrx/store causes ngcc warning
- Angular 9 - authenticated user not loaded HOT 7
- Use Angular's components for Callbacks instead of static HTML files? HOT 1
- Requests get refired after token refresh HOT 3
- User Manager State is not passed in after logging
- npm version not remove console.logs HOT 4
- Update dependencies to reflect Angular 7.x HOT 4
- Returned null User object after login HOT 7
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 ng-oidc-client.