IdentityModel / oidc-client-js

OpenID Connect (OIDC) and OAuth2 protocol support for browser-based JavaScript applications
Apache License 2.0
2.43k stars 841 forks source link

signoutPopupCallback(false) is not closing the popup #1198

Closed afernandez-yseop closed 4 years ago

afernandez-yseop commented 4 years ago

Hi,

First of all thanks for the library, it saves a ton of time 👏

I'd like the popup to be closed automatically when calling new UserManager({}).signoutPopupCallback(false) just like it happens without issues for the signin process (new UserManager({}).signinPopupCallback()). Right now the signout works but the popup redirects to the home page and I want it to close automatically.

Ive also tried new UserManager({}).signoutPopupCallback() to no avail

Thanks again, -Andres

afernandez-yseop commented 4 years ago

I'm in version 1.10.1 BTW

afernandez-yseop commented 4 years ago

My bad: I was not referencing correctly the signout callback page in the post_logout_redirect_uri. After fixing that, the popup closes automatically as expected.