调整默认配置

This commit is contained in:
wenc000 2020-08-19 15:25:04 +08:00
parent a2aeb89911
commit d879c6dd7f

View File

@ -76,16 +76,16 @@ security:
client: client:
client-id: ${clientId} client-id: ${clientId}
client-secret: ${clientSecret} client-secret: ${clientSecret}
user-authorization-uri: ${r"${security.oauth2.oauth-server}/oauth/authorize"} user-authorization-uri: ${r"${security.oauth2.oauth-server}/oauth_client/authorize"}
access-token-uri: ${r"${security.oauth2.oauth-server}/oauth/token"} access-token-uri: ${r"${security.oauth2.oauth-server}/oauth_client/token"}
grant-type: authorization_code grant-type: authorization_code
resource: resource:
jwt: jwt:
key-uri: ${r"${security.oauth2.oauth-server}/oauth/token_key"} key-uri: ${r"${security.oauth2.oauth-server}/oauth_client/token_key"}
token-info-uri: ${r"${security.oauth2.oauth-server}/oauth/check_token"} token-info-uri: ${r"${security.oauth2.oauth-server}/oauth_client/check_token"}
user-info-uri: ${r"${security.oauth2.oauth-server}/user"} user-info-uri: ${r"${security.oauth2.oauth-server}/user"}
authorization: authorization:
check-token-access: ${r"${security.oauth2.oauth-server}/oauth/token_key"} check-token-access: ${r"${security.oauth2.oauth-server}/oauth_client/token_key"}
api-path: api-path:
user-center: ${r"${security.oauth2.oauth-server}"} user-center: ${r"${security.oauth2.oauth-server}"}