forked from futurice/terraform-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.template.yml
69 lines (62 loc) · 1.33 KB
/
config.template.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
60
61
62
63
64
65
66
67
68
69
serve:
proxy:
host: 0.0.0.0 # Cloud Run requirements
port: 8080
api:
port: 4456 # run the api at port 4456
access_rules:
repositories: # overwritten elsewhere
errors:
fallback:
- json
handlers:
json:
enabled: true
config:
verbose: true
redirect:
enabled: true
config:
to: https://www.ory.sh/docs
mutators:
header:
enabled: true
config:
headers:
X-User: "{{ print .Subject }}"
# You could add some other headers, for example with data from the
# session.
# X-Some-Arbitrary-Data: "{{ print .Extra.some.arbitrary.data }}"
noop:
enabled: true
id_token:
enabled: true
config:
issuer_url: http://localhost:4455/
jwks_url: file:///jwks.json
authorizers:
allow:
enabled: true
deny:
enabled: true
authenticators:
anonymous:
enabled: true
config:
subject: guest
noop:
enabled: true
oauth2_introspection:
enabled: false # Does not work with google as they do not have an RFC 7662 endpoint
jwt:
enabled: true
config:
jwks_urls:
- https://www.googleapis.com/oauth2/v3/certs
scope_strategy: hierarchic
required_scope:
- email
trusted_issuers:
- https://accounts.google.com
allowed_algorithms:
- RS256