mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-12 14:00:17 +02:00
Default login scopes to publicData
We need a refresh token to monitor character ownership but don't need any scopes explicitly. publicData provides no private information but grants a refresh token. https://github.com/ccpgames/sso-issues/issues/17 Rumor has it this scope isn't going away with CREST. adarnauth-esi will automatically create a new scope model when it encounters one it doesn't recognize.
This commit is contained in:
parent
b6b14f6f1c
commit
c18efaa33d
@ -187,7 +187,7 @@ LOGIN_REDIRECT_URL = 'authentication:dashboard' # destination after logging out
|
||||
# - absolute urls eg 'http://example.com/dashboard'
|
||||
|
||||
# scopes required on new tokens when logging in. Cannot be blank.
|
||||
LOGIN_TOKEN_SCOPES = ['esi-characters.read_opportunities.v1']
|
||||
LOGIN_TOKEN_SCOPES = ['publicData']
|
||||
|
||||
# number of days email verification links are valid for
|
||||
ACCOUNT_ACTIVATION_DAYS = 1
|
||||
|
@ -35,10 +35,10 @@ DATABASES['default'] = {
|
||||
}
|
||||
"""
|
||||
|
||||
# Register an application at https://developers.eveonline.com
|
||||
# and fill out these settings. Be sure to set the callback URL to
|
||||
# https://example.com/sso/callback substituting your domain for example.com
|
||||
# Select all available scopes starting with esi-
|
||||
# Register an application at https://developers.eveonline.com for Authentication
|
||||
# & API Access and fill out these settings. Be sure to set the callback URL
|
||||
# to https://example.com/sso/callback substituting your domain for example.com
|
||||
# Select publicData and all available scopes starting with esi-
|
||||
ESI_SSO_CLIENT_ID = ''
|
||||
ESI_SSO_CLIENT_SECRET = ''
|
||||
ESI_SSO_CALLBACK_URL = ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user