Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(middleware): use relative URL for sign-in page
callbackUrl
(#4534)
* Use relative URL for middleware's signin callbackUrl * Include params to callbackUrl if any * For testing purpose, append params to existing link for test instead of create another one * Update apps/dev/components/header.js Co-authored-by: CODY Mai <nhan.mai@shiftasia.com> Co-authored-by: Thang Vu <31528554+ThangHuuVu@users.noreply.github.com>
- Loading branch information
75602a3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This causes conflicts with the
assertConfig
method when testing with theisValidHttpUrl
method.This problem occurs when used with middleware in Next.js: default-re-export