-
Notifications
You must be signed in to change notification settings - Fork 0
/
uyulala.docker.yml
59 lines (51 loc) · 1.43 KB
/
uyulala.docker.yml
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
# HTTP settings
http:
# The path to the static files, should point to a location with the front-end authenticator.
staticPath: /www/
# The address to listen on
addr: ":8080"
# Referer setting
referer_policy: "origin"
# Cache control setting
cache_control: "no-cache, no-store, must-revalidate"
# Database settings
database:
# The database connection DSN
dsn: "root:root@tcp(127.0.0.1:3306)/uyulala?charset=utf8mb4&parseTime=True&multiStatements=true"
# webauthn settings
webauthn:
# The ID of the Relying Party
id: localhost
# The display name of the Relying Party
display_name: uyulala
# The origins of the Relying Party
origins:
- http://localhost:8080
# The attestation mode
attestation: direct
# MDS3 Metadata url
mds3: https://mds.fidoalliance.org
# userApi settings
userApi:
# Trusted issuer for the user API.
# If set, the issuer of the JWT issuer must match this value.
# If not set, the user API is disabled.
trustedIssuer: ""
# idToken settings
idToken:
# How long an id token should be valid
length: 1h
# Refresh token settings
refreshToken:
# How long a refresh token should be valid
length: 3h
# Extend refresh token when used
extendOnUse: true
# Access token settings
accessToken:
# How long an access token should be valid before a refresh is required
length: 300s
# Embed the extension values in the access token claims
extension:
scope:
- authorization