This repository has been archived by the owner on Dec 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 84
/
standalone-tenant-config.sample.yaml
93 lines (93 loc) · 2.57 KB
/
standalone-tenant-config.sample.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
api_version: 'v2.1'
app_id: myapp
app_name: myapp
database_config:
database_url: postgres://postgres:@localhost:5432/postgres?sslmode=disable
database_schema: app
smtp:
host: smtp.gmail.com
port: 587
login: your.gmail.account@gmail.com
password: enable-2fa-and-use-app-password
app_config:
api_version: 'v2.1'
clients:
- client_id: api_key
client_name: Test App
redirect_uris:
- "http://localhost:9999/sso.html"
grant_types:
- authorization_code
- refresh_token
master_key: master_key
asset:
secret: assetsecret
hook:
secret: hooksecret
welcome_message:
enabled: true
user_verification:
login_id_keys:
- key: email
- key: phone
authentication:
secret: authnsessionsecret
identity:
oauth:
state_jwt_secret: statesecret
providers:
- type: google
client_id: 'client_id'
client_secret: 'client_secret'
oidc:
keys:
- kid: key1
public_key: |
-----BEGIN PUBLIC KEY-----
...
-----END PUBLIC KEY-----
private_key: |
-----BEGIN RSA PRIVATE KEY-----
...
-----END RSA PRIVATE KEY-----
deployment_routes:
- type: http-service
path: /
type_config:
backend_url: 'http://localhost:9999'
# hooks:
# - event: "user_sync"
# url: "http://localhost:9999/user_sync"
#
# - event: "before_user_create"
# url: "http://localhost:9999/before_user_create"
# - event: "after_user_create"
# url: "http://localhost:9999/after_user_create"
#
# - event: "before_user_update"
# url: "http://localhost:9999/before_user_update"
# - event: "after_user_update"
# url: "http://localhost:9999/after_user_update"
#
# - event: "before_session_create"
# url: "http://localhost:9999/before_session_create"
# - event: "after_session_create"
# url: "http://localhost:9999/after_session_create"
# - event: "before_session_delete"
# url: "http://localhost:9999/before_session_delete"
# - event: "after_session_delete"
# url: "http://localhost:9999/after_session_delete"
#
# - event: "before_identity_create"
# url: "http://localhost:9999/before_identity_create"
# - event: "after_identity_create"
# url: "http://localhost:9999/after_identity_create"
# - event: "before_identity_delete"
# url: "http://localhost:9999/before_identity_delete"
# - event: "after_identity_delete"
# url: "http://localhost:9999/after_identity_delete"
#
# - event: "before_password_update"
# url: "http://localhost:9999/before_password_update"
# - event: "after_password_udpate"
# url: "http://localhost:9999/after_password_udpate"