-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp-config.yaml
69 lines (63 loc) · 1.69 KB
/
app-config.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
# Base configuration file for this example, most of the
# interesting settings are in:
#
# ./plugins/custom-authentication-provider-module/app-config.yaml
# ./plugins/custom-authentication-provider-module-backend/app-config.yaml
#
#
app:
title: RHDH Multiple Github Auth Provider Example
baseUrl: http://${HOSTNAME:-localhost}:7007
backend:
auth:
keys:
- secret: development
baseUrl: http://${HOSTNAME:-localhost}:7007
listen:
host: ${HOSTNAME:-localhost}
port: 7007
csp:
connect-src: ["'self'", 'http:', 'https:']
upgrade-insecure-requests: false
cors:
origin: ${BASE_URL}
methods: [GET, HEAD, PATCH, POST, PUT, DELETE]
credentials: true
database:
client: better-sqlite3
connection: ':memory:'
integrations: {}
proxy:
endpoints: {}
auth:
environment: development
providers:
guest:
dangerouslyAllowOutsideDevelopment: true
github:
development:
clientId: ${GITHUB_APP_CLIENT_ID}
clientSecret: ${GITHUB_APP_CLIENT_SECRET}
github-two:
development:
clientId: ${GITHUB_APP_TWO_CLIENT_ID}
clientSecret: ${GITHUB_APP_TWO_CLIENT_SECRET}
microsoft:
development:
clientId: ${AZURE_CLIENT_ID}
clientSecret: ${AZURE_CLIENT_SECRET}
tenantId: ${AZURE_TENANT_ID}
dynamicPlugins:
rootDirectory: dynamic-plugins-root
frontend:
custom-authentication-provider-module:
apiFactories:
- importName: ghTwoApi
- importName: scmAuthApi
components:
- name: SignInPage
importName: CustomSignInPage
providerSettings:
- title: Github Two
description: Sign in with GitHub Org Two
provider: github-two