Skip to content

Implicit and password flow together - demo #270

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
xmlking opened this issue Mar 19, 2018 · 7 comments
Closed

Implicit and password flow together - demo #270

xmlking opened this issue Mar 19, 2018 · 7 comments

Comments

@xmlking
Copy link

xmlking commented Mar 19, 2018

Here is my attempt to useimplicit and password flows together.
Demo: https://xmlking.github.io/nx-starter-kit/index.html
Code: https://github.com/xmlking/nx-starter-kit

Feedback appreciated.

@xmlking
Copy link
Author

xmlking commented Mar 25, 2018

@dalu just tested with latest chrome on mac. which browser are you using?
do you see any errors in the console?

@Brototype
Copy link

also in your application I see the refresh error (see #283)

@xmlking
Copy link
Author

xmlking commented Apr 13, 2018

Which one failing ? Silent refresh or auto refresh token? My understanding is silent refresh only works in the case of implicit flow. Auto refresh token works for both flows

@Brototype
Copy link

hm that's weird... now i see in your console
after using sso and waiting for a while

received token_received event e {type: "token_received", info: null}
main.bundle.js:1 default: session event e {type: "silently_refreshed", info: null}

yesterday there was the error described in #283

@Brototype
Copy link

Hey Folks
I feel incredibly stupid 🙈 ... it was my ghostery chrome plugin that caused the issue...
It was hidden and somehow blocked something in the flow.
💯 apologies for this.

@xmlking
Copy link
Author

xmlking commented Apr 13, 2018

No problem. You can see more frequent refresh when you run my app in dev mode. npm run start:dev

@manfredsteyer
Copy link
Owner

Nice example!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants