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

feature: the OpenIdConnectClient can use an activeToken or an offline… #24

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thomasbeaujean
Copy link

Hi,

This PR to be able to use an activeToken or an offlineToken.
The choice is done with the useOfflineAccess parameter of the create function.

For a human used app, there is no need to use an offlineToken, it is better to use an activeToken.

@jhancock4d
Copy link
Contributor

offlineToken allows for refresh tokens. Without the offline scope refresh tokens will correctly fail. So if you request them it puts on the scope.

Only in the case where you want single shot auth without refreshability would this be valid. Please correct me in the spec if you disagree.

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.

None yet

2 participants