integrate/app/authentik/settings.py

9 lines
201 B
Python
Raw Normal View History

2022-03-04 18:51:33 +01:00
from pydantic import BaseSettings, Field
2022-04-22 18:34:48 +02:00
class AuthentikSettings(BaseSettings):
2022-04-23 18:49:28 +02:00
baseurl: str = ""
token: str = ""
2022-04-22 18:34:48 +02:00
class Config:
env_file = '.env'
env_prefix = 'AUTHENTIK_'