mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 12:30:15 +02:00
Remove refernces to optional SSO configuration
This commit is contained in:
parent
04f2731517
commit
2f5529b582
@ -111,7 +111,6 @@ TEMPLATES = [
|
||||
'notifications.context_processors.user_notification_count',
|
||||
'authentication.context_processors.states',
|
||||
'authentication.context_processors.membership_state',
|
||||
'authentication.context_processors.sso',
|
||||
'groupmanagement.context_processors.can_manage_groups',
|
||||
],
|
||||
},
|
||||
@ -225,15 +224,13 @@ SITE_NAME = os.environ.get('AA_SITE_NAME', 'Alliance Auth')
|
||||
###################
|
||||
# SSO Settings
|
||||
###################
|
||||
# Optional SSO.
|
||||
# Get client ID and client secret from registering an app at
|
||||
# https://developers.eveonline.com/
|
||||
# Callback URL should be http://mydomain.com/sso/callback
|
||||
# Leave callback blank to hide SSO button on login page
|
||||
# Callback URL should be https://mydomain.com/sso/callback
|
||||
###################
|
||||
ESI_SSO_CLIENT_ID = os.environ.get('AA_EVE_SSO_CLIENT_ID', '')
|
||||
ESI_SSO_CLIENT_SECRET = os.environ.get('AA_EVE_SSO_CLIENT_SECRET', '')
|
||||
ESI_SSO_CALLBACK_URL = os.environ.get('AA_EVE_SSO_CALLBACK_URL', '')
|
||||
ESI_SSO_CLIENT_ID = os.environ.get('AA_ESI_SSO_CLIENT_ID', '')
|
||||
ESI_SSO_CLIENT_SECRET = os.environ.get('AA_ESI_SSO_CLIENT_SECRET', '')
|
||||
ESI_SSO_CALLBACK_URL = os.environ.get('AA_ESI_SSO_CALLBACK_URL', '')
|
||||
|
||||
#########################
|
||||
# Default Group Settings
|
||||
|
@ -15,9 +15,3 @@ def states(request):
|
||||
'NONE_STATE': NONE_STATE,
|
||||
'MEMBER_BLUE_STATE': [MEMBER_STATE, BLUE_STATE],
|
||||
}
|
||||
|
||||
|
||||
def sso(request):
|
||||
return {
|
||||
'EVE_SSO_CALLBACK_URL': settings.ESI_SSO_CALLBACK_URL,
|
||||
}
|
||||
|
@ -43,16 +43,8 @@
|
||||
<body>
|
||||
<div id="logo">
|
||||
<p style="text-align:center">
|
||||
<!--Uncomment the below line to use a custom logo-->
|
||||
<!--<img src="{% static 'img/index_images/logo.png' %}" border="0">-->
|
||||
<!--Comment the below block to use a custom logo-->
|
||||
{% if IS_CORP %}
|
||||
<img src="https://image.eveonline.com/Corporation/{{ CORP_ID }}_256.png" border="0">
|
||||
{% else %}
|
||||
<img src="https://image.eveonline.com/Alliance/{{ ALLIANCE_ID }}_128.png" border="0">
|
||||
{% endif %}
|
||||
<!--Stop commenting here-->
|
||||
</p>
|
||||
<img src="{% static 'img/index_images/logo.png' %}" border="0">
|
||||
</p>
|
||||
</div>
|
||||
<div id="content">
|
||||
<p style="text-align:center">
|
||||
|
@ -75,7 +75,6 @@
|
||||
<a href="{% url 'auth_register_user' %}" class="btn btn-success btn-block btn-lg">{% trans "Register" %}</a>
|
||||
</div>
|
||||
</div>
|
||||
{% if EVE_SSO_CALLBACK_URL %}
|
||||
<br>
|
||||
<div class="col-md-12">
|
||||
<p style="text-align:center">
|
||||
@ -84,7 +83,6 @@
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user