Statistics
| Branch: | Tag: | Revision:

root / synnefo / settings / common / aai.py @ 04a38bd0

History | View | Annotate | Download (632 Bytes)

1
# -*- coding: utf-8 -*-
2
#
3
# AAI configuration
4
#####################
5

    
6
# Shibboleth-enabled path under the APP_INSTALL_URL.
7
LOGIN_URL = "https://login.okeanos.grnet.gr"
8

    
9
# Set the expiration time of newly created auth tokens
10
# to be this many hours after their creation time.
11
AUTH_TOKEN_DURATION = 30 * 24
12

    
13
# Enable receiving a temporary auth token (using the ?test URL parameter) that
14
# bypasses the authentication mechanism.
15
#
16
# WARNING, ACHTUNG, README, etc: DO NOT ENABLE THIS ON DEPLOYED VERSIONS!
17
#
18
BYPASS_AUTHENTICATION = False
19

    
20
# Urls that bypass Shibboleth authentication
21
AAI_SKIP_AUTH_URLS = ['/api', '/invitations/login']
22