<commit_before>SQLALCHEMY_DATABASE_URI = 'sqlite:///www-data/oauth_app_data.db'
SECRET_KEY = <KEY>'

OAUTH_PROVIDERS={
    "gitlab": {
        "OAUTH_CLIENT_ID": '183957292f7b0d66565d619180d2e415b78e637e9ceed65c3d4e59a7896b057f',
        "OAUTH_CLIENT_SECRET": '37c00831494c6ec77ac077cc05fae4eec0a8a417456ef55a10a41dda0d8eb867',
        "SERVICE_BASE_URL": 'https://gitlab',
        "ACCESS_SCOPE": "api",
        "IDENTITY_RESOURCE": "api/v3/user",
        "IDENTITY_USER_NAME_FIELD": "username",
        "IDENTITY_USER_ID_FIELD": "id"
    }
}

DEBUG = True

from datetime import timedelta
SESSION_COOKIE_SECURE = DEBUG
SESSION_TYPE = "filesystem"
PERMANENT_SESSION_LIFETIME = timedelta(seconds=3600)
SESSION_USE_SIGNER = True<commit_msg>auth_app/app/default_config.py: Various fixes<commit_after>SQLALCHEMY_DATABASE_URI = 'sqlite:////www-data/oauth_app_data.db'

# This must be kept secret
SECRET_KEY = <KEY>'

OAUTH_PROVIDERS = {
    "gitlab": {
        "OAUTH_CLIENT_ID": 'c4aa7aa833af8e8e30872db48db741fd11d56e14e98fa2a33de61ca64aeb2d19',
        "OAUTH_CLIENT_SECRET": '<KEY>',
        "SERVICE_BASE_URL": 'https://gitlab',
        "ACCESS_SCOPE": "api",
        "IDENTITY_RESOURCE": "api/v3/user",
        "IDENTITY_USER_NAME_FIELD": "username",
        "IDENTITY_USER_ID_FIELD": "id"
    }
}

DEBUG = True # For development only

from datetime import timedelta
SESSION_COOKIE_SECURE = DEBUG
SESSION_TYPE = "filesystem"
# We must expire sessions
PERMANENT_SESSION_LIFETIME = SESSION_SET_TTL = timedelta(seconds=3600)
# We want to get our cookies signed, like in JWT/JWS, but for simplicity
# we prefer symmetric cryptography (e.g.: HMAC-SHA256 with itsdangerous)
SESSION_USE_SIGNER = True
{'fraction_non_alphanumeric': 0.10855457227138643, 'fraction_numerical': 0.07728613569321534, 'mean_word_length': 4.7687074829931975, 'pattern_counts': {'":': 16, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4489125', 'n_tokens_mistral': 730, 'n_tokens_neox': 666, 'n_words': 103}