nextjs-auth0 icon indicating copy to clipboard operation
nextjs-auth0 copied to clipboard

set id_token_hint in search params when logging out if available

Open KristianRykkje opened this issue 1 year ago • 2 comments

  • [x] All new/changed/fixed functionality is covered by tests (or N/A)
  • [x] I have added documentation for all new/changed functionality (or N/A)

📋 Changes

  • setting id_token_hint if available when logging out.

📎 References

https://github.com/auth0/nextjs-auth0/issues/1771 https://auth0.com/docs/authenticate/login/logout/log-users-out-of-auth0#call-the-oidc-logout-endpoint

🎯 Testing

KristianRykkje avatar Aug 29 '24 08:08 KristianRykkje

I need this fix too.

After debugging locally I also noticed the id_token_hint doesn't get added to the endSessionUrl

What is needed to fix/merge this PR?

simon-debruijn avatar Oct 15 '24 15:10 simon-debruijn

I created a new PR with the same fix and additional tests: https://github.com/auth0/nextjs-auth0/pull/1780

simon-debruijn avatar Oct 16 '24 09:10 simon-debruijn

#2151 fixes this, closing this.

tusharpandey13 avatar Jun 09 '25 04:06 tusharpandey13