Skip to content

Getting a refresh token? #50

Answered by frankie567
WilliamMayor asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @WilliamMayor 👋 Welcome to Fief!

The valid scope name for getting a refresh token is offline_access, not offline; your message makes me realize that I was wrong in my previous answer in #30. I've edited it!

Try with this scope and tell me how it goes!

The generateCodeVerifier and getCodeChallenge functions I've copied from the fief browser.js source and modified to work only in browser environments.

Was there a specific issue with the one provided? They were not working?

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@WilliamMayor
Comment options

@frankie567
Comment options

@frankie567
Comment options

@WilliamMayor
Comment options

@frankie567
Comment options

Answer selected by WilliamMayor
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants