Skip to content
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

subscribe startRenew after isAuthorized is true #579

Merged

Conversation

gjberghuis
Copy link

@gjberghuis gjberghuis commented Feb 11, 2020

When silentRefresh enabled with code pkce flow results in a first call to get a token ('/connect/token') before the authorization call has been finished ('/authorize' with prompt none). The token calls after completion of the authorize call are succesful but the call before results in a '400' error.

In my usecase I wanted only to start with silentRefresh after I've been authorized.

This refers to the same issue here -> #519

@damienbod
Copy link
Owner

This looks good, build fails to node 11 in the build config which I updated. I will merge.

Thanks

@damienbod damienbod merged commit c23e1d4 into damienbod:master Feb 11, 2020
@damienbod
Copy link
Owner

build works now, I will do some manual testing, and create a new npm package when this is good

Thanks for the fix!

Greetings Damien

@gjberghuis
Copy link
Author

Thnx Damien!

I'll be waiting for the new npm package.

Greetings

Gert-Jan

@damienbod
Copy link
Owner

released in 10.0.15
thanks

@alecrt
Copy link

alecrt commented Feb 24, 2020

This pull request prevent initial silent login.
See issue #583

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

Successfully merging this pull request may close these issues.

3 participants