Revize 859f5dd3
Přidáno uživatelem Jakub Danek před téměř 5 roky(ů)
server/src/main/resources/application.properties | ||
---|---|---|
5 | 5 |
spring.datasource.password=${JDBC_PASSWORD} |
6 | 6 |
spring.datasource.driver-class-name=${JDBC_DRIVER} |
7 | 7 |
|
8 |
server.use-forward-headers=true |
|
9 |
|
|
8 | 10 |
#populate these from your google oauth2 setup |
9 | 11 |
#https://www.baeldung.com/spring-security-5-oauth2-login |
10 | 12 |
spring.security.oauth2.client.registration.google.client-id=${OAUTH2_GOOGLE_CLIENT_ID} |
... | ... | |
14 | 16 |
ymanager.oauth2.client.google.allowed-domains=${OAUTH2_GOOGLE_ALLOWED_DOMAINS} |
15 | 17 |
|
16 | 18 |
#comma-separated list of allowed origins, use asterisk for all |
17 |
ymanager.cors.allowed-origins=${CORS_ALLOWED_ORIGINS} |
|
19 |
ymanager.cors.allowed-origins=${CORS_ALLOWED_ORIGINS} |
Také k dispozici: Unified diff
#52