Это мой сценарий.
Идентификация : https://mydomain.subdomain.com.br/homol/identity
При доступе к конечной точке https://mydomain.subdomain.com.br/homol/identity/.well-known/openid-configuration это мой ответ
{
"issuer":"http://mydomain.subdomain.com.br/",
"jwks_uri":"http://mydomain.subdomain.com.br/.well-known/openid-configuration/jwks",
"authorization_endpoint":"http://mydomain.subdomain.com.br/connect/authorize",
"token_endpoint":"http://mydomain.subdomain.com.br/connect/token",
"userinfo_endpoint":"http://mydomain.subdomain.com.br/connect/userinfo",
"end_session_endpoint":"http://mydomain.subdomain.com.br/connect/endsession",
"check_session_iframe":"http://mydomain.subdomain.com.br/connect/checksession",
"revocation_endpoint":"http://mydomain.subdomain.com.br/connect/revocation",
"introspection_endpoint":"http://mydomain.subdomain.com.br/connect/introspect",
"device_authorization_endpoint":"http://mydomain.subdomain.com.br/connect/deviceauthorization",
"frontchannel_logout_supported":true,
"frontchannel_logout_session_supported":true,
"backchannel_logout_supported":true,
"backchannel_logout_session_supported":true,
"scopes_supported":[
"openid",
"email",
"profile"
],
"claims_supported":[
"sub",
"email_verified",
"email",
"updated_at",
"locale",
"zoneinfo",
"birthdate",
"website",
"picture",
"profile",
"preferred_username",
"nickname",
"middle_name",
"given_name",
"family_name",
"name",
"gender"
],
"grant_types_supported":[
"authorization_code",
"client_credentials",
"refresh_token",
"implicit",
"password",
"urn:ietf:params:oauth:grant-type:device_code"
],
"response_types_supported":[
"code",
"token",
"id_token",
"id_token token",
"code id_token",
"code token",
"code id_token token"
],
"response_modes_supported":[
"form_post",
"query",
"fragment"
],
"token_endpoint_auth_methods_supported":[
"client_secret_basic",
"client_secret_post"
],
"subject_types_supported":[
"public"
],
"id_token_signing_alg_values_supported":[
"RS256"
],
"code_challenge_methods_supported":[
"plain",
"S256"
],
"request_parameter_supported":true
}
Два вопроса:
1 - Почему был удален поддомен?
2 - Когда пользователь получает доступ к приложению SPA, а затем к oid c клиент перенаправляет его (используя метод siginRedirect) в Login, конечная точка не найдена, поскольку субдомен был удален снова.
Спасибо.