wi3land / ionic-appauth

Intergration for OpenId/AppAuth-JS into Ionic V3/4/5
MIT License
95 stars 74 forks source link

Fix issue with undefined idTokenHint in performEndSessionRequest method #352

Closed xabierarima closed 2 months ago

xabierarima commented 2 months ago

When the signout method is called, the token is deleted before invoking performEndSessionRequest. This results in idTokenHint always being undefined.

To resolve this issue, we can retrieve the ID token before deleting the token and pass it as a parameter to performEndSessionRequest.

mraible commented 2 months ago

@xabierarima Thanks for your contribution!