Closed peterphanouvong closed 1 month ago
The update to the authMiddleware.js
file enhances the flexibility of the handleMiddleware
function by allowing it to use a custom redirectURLBase
provided in the options
parameter. If redirectURLBase
is not specified, it defaults to using the config.redirectURL
. This change ensures more dynamic handling of redirect URLs based on different contexts or configurations.
File Path | Change Summary |
---|---|
src/authMiddleware/authMiddleware.js |
Updated handleMiddleware to use options.redirectURLBase if available, falling back to config.redirectURL when constructing the redirect URL. |
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
Checklist
🛟 If you need help, consider asking for advice over in the Kinde community.