diff --git a/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/base/application.ftl b/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/base/application.ftl index 0e9d861..7d5d5bd 100755 --- a/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/base/application.ftl +++ b/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/base/application.ftl @@ -76,16 +76,16 @@ security: client: client-id: ${clientId} client-secret: ${clientSecret} - user-authorization-uri: ${r"${security.oauth2.oauth-server}/oauth/authorize"} - access-token-uri: ${r"${security.oauth2.oauth-server}/oauth/token"} + user-authorization-uri: ${r"${security.oauth2.oauth-server}/oauth_client/authorize"} + access-token-uri: ${r"${security.oauth2.oauth-server}/oauth_client/token"} grant-type: authorization_code resource: jwt: - key-uri: ${r"${security.oauth2.oauth-server}/oauth/token_key"} - token-info-uri: ${r"${security.oauth2.oauth-server}/oauth/check_token"} + key-uri: ${r"${security.oauth2.oauth-server}/oauth_client/token_key"} + token-info-uri: ${r"${security.oauth2.oauth-server}/oauth_client/check_token"} user-info-uri: ${r"${security.oauth2.oauth-server}/user"} 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: user-center: ${r"${security.oauth2.oauth-server}"}