fix: OIDC JWT settings initialization

This commit is contained in:
Éloi Rivard 2024-03-29 17:30:12 +01:00
parent ea220e8a93
commit 163c0155b7
No known key found for this signature in database
GPG key ID: 7EDA204EA57DD184
7 changed files with 7 additions and 1 deletions

View file

@ -102,5 +102,5 @@ class OIDCSettings(BaseModel):
This adds security but may not be supported by all clients.
"""
JWT: Optional[JWTSettings] = None
JWT: JWTSettings = JWTSettings()
"""JSON Web Token settings."""

View file

@ -1,4 +1,5 @@
SECRET_KEY = "change me before you go in production"
DEBUG = true
[CANAILLE]
NAME = "Canaille"

View file

@ -1,4 +1,5 @@
SECRET_KEY = "change me before you go in production"
DEBUG = true
[CANAILLE]
NAME = "Canaille"

View file

@ -1,4 +1,5 @@
SECRET_KEY = "change me before you go in production"
DEBUG = true
[CANAILLE]
NAME = "Canaille"

View file

@ -1,4 +1,5 @@
SECRET_KEY = "change me before you go in production"
DEBUG = true
[CANAILLE]
LOGO = "/static/img/canaille-head.webp"

View file

@ -1,4 +1,5 @@
SECRET_KEY = "change me before you go in production"
DEBUG = true
[CANAILLE]
LOGO = "/static/img/canaille-head.webp"

View file

@ -1,4 +1,5 @@
SECRET_KEY = "change me before you go in production"
DEBUG = true
[CANAILLE]
LOGO = "/static/img/canaille-head.webp"