When we are upgrading Access Management to 2.0 as per below Article https://docs.rws.com/1099765/949800/tridion-sites-10-main-documentation/upgrading-------------access-management I followed all the Steps
- DB Upgrade complete
- Created a backup of the current Access management service folder.
- Uninstalled the service
- Configure new appsettings.json with existing properties.
- Installed the service
- Service Installed Successfully
- When Trying to browse Access Management URL it says |Invalid redirect_uri.
- Attached Logs, Please let me know if you can connect with us and help us in Troubleshooting
2023-11-07 08:15:20.8298|Error|Duende.IdentityServer.Validation.AuthorizeRequestValidator|Invalid redirect_uri: "https://tridion-dev.xy.net:8443/access-management/signin-oidc" {"ClientId":"Access_Management", "ClientName":"Access Management", "AllowedRedirectUris":["http://localhost:5000/access-management/ui/signin-oidc","https://tridion-dev.xy.net:8443/access-management/ui/signin-oidc","https://localhost:8443/access-management/ui/signin-oidc","https://YOURTAMHOSTNAME:84/access-management/signin-oidc"], "SubjectId":"anonymous", "RequestedScopes":"", "PromptMode":"", "Raw":{"client_id":"Access_Management","redirect_uri":"https://tridion-dev.xy.net:8443/access-management/signin-oidc","response_type":"code","scope":"openid profile role forwarded offline_access","code_challenge":"Z8TtGPRmLmiGxU9zXkVTgnkRPX3_z0iyuqQz2LlEqIU","code_challenge_method":"S256","nonce":"638349381208108289.ZmVkMjBjOGUtODdhZS00NTMxLTkwOWMtNGQyODBmODI5MDVjODBiNWVhYTYtYjY4ZC00NTg0LWEyOTYtOTI5NjRmMDNiMzJj","state":"CfDJ8IIyr9OXhB9Iphs15S9DlbBy9sA_GmtDYzVp6b5I7K8_2oOUl36q2_I9YIF4e4GU2qODCpU-lUcOhUOgxP-K7XbI53bYlkNJXdYKf15fpuE_jpxggCvPKySYbn2lB04giitetcMEOfPtQcShbKISHBZLvhcKykUeM4BSV6bdhFxfwWNLHB3OejzxHh39awzAiL1KtwY9giyQgEtM_012NAz79EZPVa0i01WXn81fKrkk0P6KlU7QdDPzxDMtFUkgCc4fnCyDYRPBfbyUFrZCSMww6n73MNn3p_nB-WKOh0jnXjazoQPNBksnT3Ph_kWtYRS9r8aOs7F7-yHRDyYStTYAVoJ9oHHWrb_G7Q1VtPEmCvf2dFQPyRff656WvmM5RUJrCE1o7laxXrroGKIs-WbRiBG4Vg94amzc9sofeaRXRq401T8Q60TnTOvak9ZaPg","x-client-SKU":"ID_NETSTANDARD2_0","x-client-ver":"6.10.0.0"}}
Can you please help me to Troubleshoot, If I rollback changes its working fine.
after Stefan suggestion fixed the issue.
Now getting below error
"2023-11-10 10:28:13.6052|Error|Duende.IdentityServer.Validation.AuthorizeRequestValidator|Invalid grant type for client: "implicit" {"ClientId":"Classic_Tridion_Sites_UI", "ClientName":"Tridion Sites Classic (UI only)", "RedirectUri":"https://tridion-dev.xy.net/webui/signin-oidc", "AllowedRedirectUris":["https://tridion-dev.xy.net:443/webui/signin-oidc","https://tridion-dev.xy.net/webui/signin-oidc","https://tridion-dev.xy.net:443/ui/signin-oidc","https://YOURCMHOSTNAME:81/webui/signin-oidc"], "SubjectId":"anonymous", "ResponseType":"id_token token", "ResponseMode":"form_post", "GrantType":"implicit", "RequestedScopes":"", "State":"OpenIdConnect.AuthenticationProperties=Bizgx-TwNQ4jf4tKB_pVr5h8-Aj3SqygLEVEoJJj2Yv-GTnwG6_NnWdpY2txDUVEQnwQ2B-DeOr_ltFD5hI", "PromptMode":"", "Raw":{"client_id":"Classic_Tridion_Sites_UI","response_type":"id_token token","scope":"openid profile role forwarded","state":"OpenIdConnect.AuthenticationProperties=Bizgx-0uSarRzX7MJmz8Hl4tKB_pV0h8-AEoJJj2Yv-p3MgojdFRFCURgl_BMTUuIEeNnWdp-DeOr_ltFD5hI","response_mode":"form_post","nonce":"63835205202.lNzEtTkxODItODUxZDVmZDM4Y2Q3","redirect_uri":"https://tridion-dev.xy .net/webui/signin-oidc","x-client-SKU":"ID_NET461","x-client-ver":"5.3.0.0"}} 2023-11-10 10:28:13.6104|Error|Duende.IdentityServer.Endpoints.AuthorizeEndpoint|Request validation failed "