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

1771 - Set id_token_hint when logging out

Open simon-debruijn opened this issue 1 year ago • 0 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

  • Include id_token_hint in searchParams for endSessionUrl
  • Ran npm run pretty
  • This is a fix in behaviour and doesn't change any public or private api

📎 References

  • Issue: #1771
  • Duplicate PR without tests: https://github.com/auth0/nextjs-auth0/pull/1773

🎯 Testing

When triggering the logout handler you can verify if the id_token_hint search param is set during the redirect. Before this change the id_token_hint was missing. it should be present now.

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