integrate/app/authentik/settings.py
2022-04-29 14:13:54 +02:00

9 lines
No EOL
201 B
Python

from pydantic import BaseSettings, Field
class AuthentikSettings(BaseSettings):
baseurl: str = ""
token: str = ""
class Config:
env_file = '.env'
env_prefix = 'AUTHENTIK_'