fix: redirection to the OIDC end session endpoint
This commit is contained in:
@@ -269,10 +269,7 @@ export class AuthService {
|
|||||||
signOutFromProviderSupportedAndActivated
|
signOutFromProviderSupportedAndActivated
|
||||||
) {
|
) {
|
||||||
const configuration = await provider.getConfiguration();
|
const configuration = await provider.getConfiguration();
|
||||||
if (
|
if (URL.canParse(configuration.end_session_endpoint)) {
|
||||||
configuration.frontchannel_logout_supported &&
|
|
||||||
URL.canParse(configuration.end_session_endpoint)
|
|
||||||
) {
|
|
||||||
const redirectURI = new URL(configuration.end_session_endpoint);
|
const redirectURI = new URL(configuration.end_session_endpoint);
|
||||||
redirectURI.searchParams.append(
|
redirectURI.searchParams.append(
|
||||||
"post_logout_redirect_uri",
|
"post_logout_redirect_uri",
|
||||||
|
|||||||
Reference in New Issue
Block a user