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

Allow re-auth / re-prompting for scopes or permissions #14

Closed
wants to merge 2 commits into from

Conversation

clgeoio
Copy link

@clgeoio clgeoio commented Mar 21, 2022

When authenticating with services like Google OAuth a list of scopes can be provided. These scopes allow access to a user's information, like profile info and more.

An application may want to re-prompt for additional access points (e.g. prompt for access to a user's Calendar to make an event) during the application lifecycle.

This allowReauth option is set when constructing the OAuth class and disables the early return that is present if the session is already set.

@rahulp959
Copy link

This would be super super useful, any chance we could get this merged @sergiodxa?

@davidfou davidfou mentioned this pull request Feb 2, 2024
@pavandv
Copy link

pavandv commented Apr 28, 2024

Hi @sergiodxa, If everything looks good on the PR, can we have a merge please.

@sergiodxa
Copy link
Owner

Support for this was implemented in #89

@sergiodxa sergiodxa closed this May 18, 2024
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

4 participants