-
-
Notifications
You must be signed in to change notification settings - Fork 794
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
How Consent Form is Working? #1441
Comments
It’s probably in a browser cookie
…On Thu, Jul 25, 2024 at 2:56 AM Johnny ***@***.***> wrote:
I have the following set in my settings.py
OAUTH2_PROVIDER = {
'ACCESS_TOKEN_EXPIRE_SECONDS': 36000,
'AUTHORIZATION_CODE_EXPIRE_SECONDS': 600,
# 'OAUTH2_BACKEND_CLASS': 'oauth2_provider.oauth2_backends.JSONOAuthLibCore',
'SCOPES': {
'read': 'Read scope',
'write': 'Write scope',
},
'PKCE_REQUIRED': False, # Ensure PKCE is required as per security best practices
}
But I don't see the Authorize Consent Form every time I try to Log in via
OAuth. What is the exact thing in the Database of Cache that is stopping
the consent form from appearing again? I want to show the consent form for
Authorization, each time the user log in via OAuth.
—
Reply to this email directly, view it on GitHub
<#1441>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABBHS5ZQI5RWAM4UCEVJEI3ZOCOTJAVCNFSM6AAAAABLN4TYASVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQZDSMJXHE2TQMI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
There is a setting The default is This means that, if the token isn't refreshed, the consent screen wil reappear after |
It seems that you can also use the I'm not sure if DOT supports the |
Turns out
|
I have the following set in my settings.py
But I don't see the Authorize Consent Form every time I try to Log in via OAuth. What is the exact thing in the Database of Cache that is stopping the consent form from appearing again? I want to show the consent form for Authorization, each time the user log in via OAuth.
The text was updated successfully, but these errors were encountered: