DEBUG = True

INTERNAL_IPS = ('127.0.0.1',)

ADMINS = ()

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': '/home/josie/development/archlinux/archweb/database.db',
    },
}

CACHES = {
    'default': {
        'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
    }
}

SESSION_COOKIE_SECURE = False
CSRF_COOKIE_SECURE = False

MEDIA_ROOT = '/tmp/archweb/img/'
MEDIA_URL = '/media/img/'

SECRET_KEY = 'archweb-poc-dev-key-not-for-production-use'

OIDC_RP_CLIENT_ID = 'archweb-poc'
OIDC_RP_CLIENT_SECRET = 'f62e75506e1e723a7241913303f9a5ef'
OIDC_RP_SIGN_ALGO = 'RS256'

OIDC_OP_AUTHORIZATION_ENDPOINT = 'https://auth.josie.cloud/realms/josie/protocol/openid-connect/auth'
OIDC_OP_TOKEN_ENDPOINT = 'https://auth.josie.cloud/realms/josie/protocol/openid-connect/token'
OIDC_OP_USER_ENDPOINT = 'https://auth.josie.cloud/realms/josie/protocol/openid-connect/userinfo'
OIDC_OP_JWKS_ENDPOINT = 'https://auth.josie.cloud/realms/josie/protocol/openid-connect/certs'

OIDC_ALLOWED_GROUPS = {
    'Developers',
    'DevOps',
    'Package Maintainers',
    'Support Staff',
    'Testers',
}

# vim: set ts=4 sw=4 et:
