Statistics
| Branch: | Tag: | Revision:

root / settings.d / 40-aai.conf @ 5039a44f

History | View | Annotate | Download (632 Bytes)

1 1277fb19 Vangelis Koukis
# -*- coding: utf-8 -*-
2 1277fb19 Vangelis Koukis
#
3 1277fb19 Vangelis Koukis
# AAI configuration
4 1277fb19 Vangelis Koukis
#####################
5 1277fb19 Vangelis Koukis
6 1277fb19 Vangelis Koukis
# Shibboleth-enabled path under the APP_INSTALL_URL.
7 79d8af70 Georgios Gousios
LOGIN_URL = "https://login.okeanos.grnet.gr"
8 1277fb19 Vangelis Koukis
9 1277fb19 Vangelis Koukis
# Set the expiration time of newly created auth tokens
10 1277fb19 Vangelis Koukis
# to be this many hours after their creation time.
11 1277fb19 Vangelis Koukis
AUTH_TOKEN_DURATION = 30 * 24
12 1277fb19 Vangelis Koukis
13 1277fb19 Vangelis Koukis
# Enable receiving a temporary auth token (using the ?test URL parameter) that
14 1277fb19 Vangelis Koukis
# bypasses the authentication mechanism.
15 1277fb19 Vangelis Koukis
#
16 1277fb19 Vangelis Koukis
# WARNING, ACHTUNG, README, etc: DO NOT ENABLE THIS ON DEPLOYED VERSIONS!
17 1277fb19 Vangelis Koukis
#
18 1277fb19 Vangelis Koukis
BYPASS_AUTHENTICATION = False
19 0e06c19c Kostas Papadimitriou
20 0e06c19c Kostas Papadimitriou
# Urls that bypass Shibboleth authentication
21 0e06c19c Kostas Papadimitriou
AAI_SKIP_AUTH_URLS = ['/api', '/invitations/login']