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
Copy file name to clipboardExpand all lines: config.template.yaml
+53-7Lines changed: 53 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,40 @@
4
4
# ACCESS_TOKEN_SECRET_KEY should contain a random string with enough entropy (at least 32 bytes long) to securely sign all access_tokens for OAuth and Openid connect
5
5
ACCESS_TOKEN_SECRET_KEY: ""
6
6
# RSA_PRIVATE_PEM_STRING should be a string containing the PEM certificate of a private RSA key. It will be used to sign id_tokens for Openid connect authentication
7
-
# In the pem certificates newlines can be replaced by `\n`
8
-
RSA_PRIVATE_PEM_STRING: ""
7
+
# The example below was generated using a 2048-bit RSA key generator
# `AuthClientClassName` should be a class from `app.utils.auth.providers`
35
62
# `secret` may be omitted to use PKCE instead of a client secret
36
63
AUTH_CLIENTS:
64
+
Titan:
65
+
secret:
66
+
redirect_uri:
67
+
- http://localhost:3000/static.html
68
+
- http://127.0.0.1:3000/static.html
69
+
auth_client: AppAuthClient
70
+
Postman:
71
+
secret: PostmanSecret
72
+
redirect_uri:
73
+
- https://oauth.pstmn.io/v1/callback
74
+
- http://postman
75
+
- http://localhost:8000/docs/oauth2-redirect
76
+
- http://127.0.0.1:8000/docs/oauth2-redirect
77
+
auth_client: APIToolAuthClient
37
78
38
79
#####################
39
80
# Hyperion settings #
40
81
#####################
41
82
42
-
LOG_DEBUG_MESSAGES: true
83
+
LOG_DEBUG_MESSAGES: True
43
84
44
85
# Origins for the CORS middleware. `["http://localhost"]` can be used for development.
45
86
# See https://fastapi.tiangolo.com/tutorial/cors/
46
87
# It should begin with 'http://' or 'https:// and should never end with a '/'
47
-
CORS_ORIGINS: ["http://localhost"]
88
+
CORS_ORIGINS:
89
+
- http://localhost:3000
90
+
- http://127.0.0.1:3000
91
+
# - *
48
92
49
93
# If set, the application use a SQLite database instead of PostgreSQL, for testing or development purposes (if possible Postgresql should be used instead)
50
-
SQLITE_DB: "app.db"
94
+
SQLITE_DB: app.db
51
95
# If True, will print all SQL queries in the console
52
96
DATABASE_DEBUG: False
97
+
# if True and the database is empty, it will be seeded with mocked data
0 commit comments