spring.security.oauth2.client.registration.my-login-client.client-id=abcdspring.security.oauth2.client.registration.my-login-client.client-secret=passwordspring.security.oauth2.client.registration.my-login-client.client-name=Client for OpenID Connectspring.security.oauth2.client.registration.my-login-client.provider=my-oauth-providerspring.security.oauth2.client.registration.my-login-client.scope=openid,profile,email,phone,addressspring.security.oauth2.client.registration.my-login-client.redirect-uri={baseUrl}/login/oauth2/code/{registrationId}spring.security.oauth2.client.registration.my-login-client.client-authentication-method=client_secret_basicspring.security.oauth2.client.registration.my-login-client.authorization-grant-type=authorization_codespring.security.oauth2.client.registration.my-client-1.client-id=abcdspring.security.oauth2.client.registration.my-client-1.client-secret=passwordspring.security.oauth2.client.registration.my-client-1.client-name=Client for user scopespring.security.oauth2.client.registration.my-client-1.provider=my-oauth-providerspring.security.oauth2.client.registration.my-client-1.scope=userspring.security.oauth2.client.registration.my-client-1.redirect-uri={baseUrl}/authorized/userspring.security.oauth2.client.registration.my-client-1.client-authentication-method=client_secret_basicspring.security.oauth2.client.registration.my-client-1.authorization-grant-type=authorization_codespring.security.oauth2.client.registration.my-client-2.client-id=abcdspring.security.oauth2.client.registration.my-client-2.client-secret=passwordspring.security.oauth2.client.registration.my-client-2.client-name=Client for email scopespring.security.oauth2.client.registration.my-client-2.provider=my-oauth-providerspring.security.oauth2.client.registration.my-client-2.scope=emailspring.security.oauth2.client.registration.my-client-2.redirect-uri={baseUrl}/authorized/emailspring.security.oauth2.client.registration.my-client-2.client-authentication-method=client_secret_basicspring.security.oauth2.client.registration.my-client-2.authorization-grant-type=authorization_codespring.security.oauth2.client.provider.my-oauth-provider.authorization-uri=https://my-auth-server.com/oauth2/authorizespring.security.oauth2.client.provider.my-oauth-provider.token-uri=https://my-auth-server.com/oauth2/tokenspring.security.oauth2.client.provider.my-oauth-provider.user-info-uri=https://my-auth-server.com/userinfospring.security.oauth2.client.provider.my-oauth-provider.user-info-authentication-method=headerspring.security.oauth2.client.provider.my-oauth-provider.jwk-set-uri=https://my-auth-server.com/oauth2/jwksspring.security.oauth2.client.provider.my-oauth-provider.user-name-attribute=name
Spring Boot 自动配置一个InMemoryOAuth2AuthorizedClientService以便Spring Security 用来管理客户端注册的文件。InMemoryOAuth2AuthorizedClientService功能有限,我们建议仅将其用于开发环境。对于生产环境,请考虑使用JdbcOAuth2AuthorizedClientService或OAuth2AuthorizedClientService创建您自己的.
Spring Boot 自动配置的InMemoryRegisteredClientRepository其只能被Spring 授权服务器用于管理注册客户端的权限。InMemoryRegisteredClientRepository功能有限,我们建议仅将其用于开发环境。对于生产环境,请考虑使用JdbcRegisteredClientRepository或创建您自己的RegisteredClientRepository.