Projekt

Obecné

Profil

« Předchozí | Další » 

Revize deb64a56

Přidáno uživatelem Jakub Danek před více než 5 roky(ů)

re #29 backend implementation of Google OAuth2 authentication

Includes new user registration.

Zobrazit rozdíly:

server/src/main/resources/application.properties
2 2
spring.datasource.url=jdbc:mariadb://db:3306/yamanager
3 3
spring.datasource.username=user
4 4
spring.datasource.password=passwd
5
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
5
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
6
#populate these from your google oauth2 setup
7
#https://www.baeldung.com/spring-security-5-oauth2-login
8
#spring.security.oauth2.client.registration.google.client-id=<client id value here>
9
#spring.security.oauth2.client.registration.google.client-secret=<secret here>
10
#comma-separated list of allowed domains, leave empty for all
11
#ymanager.oauth2.client.google.allowed-domains=domain.com,domain2.com

Také k dispozici: Unified diff