-
Notifications
You must be signed in to change notification settings - Fork 698
Closed
Labels
bugFor tagging faulty or unexpected behavior.For tagging faulty or unexpected behavior.investigation-neededIndication that the maintainer or involved community members may need to investigate more.Indication that the maintainer or involved community members may need to investigate more.
Description
Describe the bug
When postLogoutRedirectUri is not set and AuthConfig.redirectUriAsPostLogoutRedirectUriFallback = true and Identity Server does not return id_token, logOut() does not go to AuthConfig.logoutUrl.
Expected behavior
logOut() to go to AuthConfig.logoutUrl.
Library version
13.0.1
Additional context
Library source code:
logOut(customParameters = {}, state = '') {
...
if (!id_token && !this.postLogoutRedirectUri) {
return; // exits HERE
}
...
const postLogoutUrl = this.postLogoutRedirectUri ||
(this.redirectUriAsPostLogoutRedirectUriFallback && this.redirectUri) || // is NOT reached
'';
...
}
Metadata
Metadata
Assignees
Labels
bugFor tagging faulty or unexpected behavior.For tagging faulty or unexpected behavior.investigation-neededIndication that the maintainer or involved community members may need to investigate more.Indication that the maintainer or involved community members may need to investigate more.