forked from authhero/auth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wrangler.toml
73 lines (62 loc) · 2.22 KB
/
wrangler.toml
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
name = "auth2"
main = "src/server.ts"
compatibility_date = "2024-12-09"
node_compat = true
# Add your account_id here..
account_id = "0c8c22bdcd98c3dc6a35190650ef7906"
services = [
{ binding = "TOKEN_SERVICE", service = "token-service-dev" },
{ binding = "JWKS_SERVICE", service = "token-service-dev" },
]
# as an experiemnt we had
# routes = [
# { pattern = "auth2.sesamy.dev/*", zone_id = "b56a76d859fe2ed6a8d77270cd2e8ba8" },
# { pattern = "*.auth2.sesamy.dev/*", zone_id = "b56a76d859fe2ed6a8d77270cd2e8ba8" },
# ]
route = { pattern = "auth2.sesamy.dev/*", zone_id = "b56a76d859fe2ed6a8d77270cd2e8ba8" }
[vars]
IMAGE_PROXY_URL = "https://imgproxy.prod.sesamy.cloud"
ISSUER = "https://auth2.sesamy.dev/"
LOGIN2_URL = 'https://login2.sesamy.dev'
API_URL = 'https://api.sesamy.dev'
AUTH_URL = 'https://token.sesamy.dev'
JWKS_URL = "https://token.sesamy.dev/.well-known/jwks.json"
SAML_SIGN_URL = "https://api.sesamy.dev/profile/saml/sign"
READ_PERMISSION = "auth:read"
WRITE_PERMISSION = "auth:write"
ENVIRONMENT = 'dev'
DEFAULT_TENANT_ID = 'DEFAULT_SETTINGS'
DEFAULT_CLIENT_ID = 'DEFAULT_CLIENT'
[observability]
enabled = true
[triggers]
crons = ["*/30 * * * *"]
[env.production]
account_id = "d684d0f34602a66c97de230566a2fa87"
workers_dev = true
services = [
{ binding = "TOKEN_SERVICE", service = "token-service-prod" },
{ binding = "JWKS_SERVICE", service = "token-service-prod" },
]
# if we use multiple routes on dev then change this
# routes = [
# { pattern = "auth2.sesamy.com/*", zone_id = "b944b5871689ada6ce48e380968a06b5" },
# ]
route = { pattern = "auth2.sesamy.com/*", zone_id = "b944b5871689ada6ce48e380968a06b5" }
[env.production.vars]
ISSUER = "https://auth2.sesamy.com/"
LOGIN2_URL = 'https://login2.sesamy.com'
API_URL = 'https://api.sesamy.com'
AUTH_URL = 'https://token.sesamy.com'
JWKS_URL = "https://token.sesamy.com/.well-known/jwks.json"
SAML_SIGN_URL = "https://api.sesamy.dev/profile/saml/sign"
READ_PERMISSION = 'auth:read'
WRITE_PERMISSION = 'auth:write'
ENVIRONMENT = 'prod'
IMAGE_PROXY_URL = "https://imgproxy.prod.sesamy.cloud"
DEFAULT_TENANT_ID = 'DEFAULT_SETTINGS'
DEFAULT_CLIENT_ID = 'DEFAULT_CLIENT'
[env.production.observability]
enabled = true
[env.production.triggers]
crons = ["0 3 * * *"]