Initial implementation of OAuth2 server with OIDC
This commit is contained in:
@ -18,13 +18,32 @@ authorization:
|
||||
default-role: ROLE_USER
|
||||
|
||||
spring:
|
||||
application:
|
||||
name: anyame-user-service
|
||||
security:
|
||||
oauth2:
|
||||
authorizationserver:
|
||||
issuer-url: http://localhost:8080
|
||||
introspection-endpoint: /oauth2/token-info
|
||||
datasource:
|
||||
url: ${DATABASE_URL}
|
||||
username: ${DATABASE_USERNAME}
|
||||
password: ${DATABASE_PASSWORD}
|
||||
jpa:
|
||||
hibernate:
|
||||
ddl-auto: none
|
||||
ddl-auto: create
|
||||
|
||||
logging:
|
||||
level:
|
||||
root: DEBUG
|
||||
org.springframework.security: DEBUG
|
||||
logging.level.org.springframework.web: DEBUG
|
||||
logging.level.org.springframework.security.oauth2: TRACE
|
||||
org.apache.tomcat.util.net.NioEndpoint: ERROR
|
||||
sun.rmi: ERROR
|
||||
java.io: ERROR
|
||||
javax.management: ERROR
|
||||
|
||||
server:
|
||||
error:
|
||||
include-message: always
|
||||
include-message: always
|
Reference in New Issue
Block a user