Auth服务器需要一个附加参数“ tenant”作为授权URL的一部分
https://<URL>[DOT]com/oauth2/authorize?
&scope=openid
&response_type=id_token
&client_id=test-client-1
&redirect_uri=<URI>
&tenant=xyz
BaseOAuth2ProtectedResourceDetails.java does not accept anything other other than the default ones.
我们如何发送用于身份验证的其他参数,例如tenant
?
尝试
http.oauth2Login().authorizationEndpoint().authorizationRequestResolver(new CustomAuthorizationRequestResolver(
clientRegistrationRepository(), "/oauth2/authorize"));
但是卡住了注册ID部分。