You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# - you will access the login page from your browser http://localhost:8000/auth/authorize
49
+
# - but the docker container should call http://host.docker.internal:8000/auth/token and not your localhost address
50
+
#OVERRIDDEN_CLIENT_URL_FOR_OIDC: "http://host.docker.internal:8000/" # NOTE: A trailing / is required
53
51
54
52
# Configure AuthClients, to allow services to authenticate users using OAuth2 or Openid connect
55
53
# The following format should be used in yaml config files:
54
+
# Origins for the CORS middleware. `["http://localhost:3000"]` can be used for development.
55
+
# See https://fastapi.tiangolo.com/tutorial/cors/
56
+
# It should begin with 'http://' or 'https:// and should never end with a '/'
57
+
CORS_ORIGINS:
58
+
- "*"# For a local instance, using a wildcard "*" is convenient
59
+
# - http://localhost:3000
60
+
# - http://127.0.0.1:3000
56
61
# ```yml
57
62
# AUTH_CLIENTS:
58
63
# <ClientId>:
59
-
# secret: <ClientSecret>
64
+
# secret: <ClientSecret> (or <null> to use PKCE instead of a client secret)
60
65
# redirect_uri:
61
66
# - <RedirectUri1>
62
67
# - <RedirectUri2>
63
68
# auth_client: <AuthClientClassName>
64
69
# ```
65
70
# `AuthClientClassName` should be a class from `app.utils.auth.providers`
66
-
# `secret` may be omitted to use PKCE instead of a client secret
67
71
AUTH_CLIENTS:
68
72
Titan:
69
73
secret:
@@ -84,20 +88,9 @@ AUTH_CLIENTS:
84
88
# Hyperion settings #
85
89
#####################
86
90
87
-
# Origins for the CORS middleware. `["http://localhost:3000"]` can be used for development.
88
-
# See https://fastapi.tiangolo.com/tutorial/cors/
89
-
# It should begin with 'http://' or 'https:// and should never end with a '/'
90
-
# For a local instance, using a wildcard "*" is convenient
91
-
CORS_ORIGINS:
92
-
- "*"
93
-
# - http://localhost:3000
94
-
# - http://127.0.0.1:3000
95
-
91
+
SQLITE_DB: app.db # If set, the application use a SQLite database instead of PostgreSQL, for testing or development purposes (if possible PostgreSQL should be used instead)
92
+
DATABASE_DEBUG: False # If True, will print all SQL queries in the console
96
93
LOG_DEBUG_MESSAGES: False
97
-
# If set, the application use a SQLite database instead of PostgreSQL, for testing or development purposes (if possible PostgreSQL should be used instead)
98
-
SQLITE_DB: app.db
99
-
# If True, will print all SQL queries in the console
100
-
DATABASE_DEBUG: False
101
94
# if True and the database is empty, it will be seeded with mocked data
0 commit comments