Initial implementation of CustomUserDetailsService
This commit is contained in:
@ -6,10 +6,27 @@ spring:
|
||||
authorizationserver:
|
||||
issuer-url: http://localhost:8080
|
||||
introspection-endpoint: /oauth2/token-info
|
||||
client:
|
||||
registration:
|
||||
github:
|
||||
clientId: ${GITHUB_CLIENT_ID}
|
||||
clientSecret: ${GITHUB_CLIENT_SECRET}
|
||||
scope:
|
||||
- user:email
|
||||
- read:user
|
||||
|
||||
google:
|
||||
clientId: ${GOOGLE_CLIENT_ID}
|
||||
clientSecret: ${GOOGLE_CLIENT_SECRET}
|
||||
datasource:
|
||||
url: ${DATABASE_URL}
|
||||
username: ${DATABASE_USERNAME}
|
||||
password: ${DATABASE_PASSWORD}
|
||||
flyway:
|
||||
enabled: true
|
||||
locations: classpath:db/migration/structure, classpath:db/migration/data
|
||||
validate-on-migrate: true
|
||||
default-schema: main
|
||||
jpa:
|
||||
hibernate:
|
||||
ddl-auto: create
|
||||
|
Reference in New Issue
Block a user