Closed DanielRivers closed 1 month ago
The update improves the handling of post-login redirect URLs in callback.js
. Instead of always performing a direct redirect if the URL starts with 'http', the new logic now appends the URL to the site URL if it doesn't start with 'http', ensuring a more reliable and consistent redirect mechanism.
File Path | Change Summary |
---|---|
src/handlers/callback.js |
Refined post-login redirect URL handling to append site URL if not starting with 'http'. |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Explain your changes
Fixes the
isReturnToCurrentPage
option onwithAuth
.Fixes: https://github.com/kinde-oss/kinde-auth-nextjs/issues/188
Checklist
🛟 If you need help, consider asking for advice over in the Kinde community.