Серверу аутентификации требуется дополнительный параметр "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"));
, но застрял с регистрационным идентификатором.