-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Prerequisites
- I have searched the repository’s issues and Kinde community to ensure my issue isn’t a duplicate
- I have checked the latest version of the library to replicate my issue
- I have read the contributing guidelines
- I agree to the terms within the code of conduct
Describe the issue
I want to keep query params but this config doesn't work.
{
publicPaths: PUBLIC_PATHS,
loginPage: "/login", // Redirect to login if unauthenticated
isReturnToCurrentPage: true, // Return user to their requested page after login
preserveQueryParams: true, // Preserve query parameters on redirect
}
For example when users come to dashboard, let's say /dashboard?referrer=facebook but they are not logged in, it takes them to /login?post_login_redirect_url=%2Fdashboard and wipes the query params - but I'd love to preserve them
I am using following packages.
"@kinde-oss/kinde-auth-nextjs": "^2.6.2-5",
"@kinde-oss/kinde-typescript-sdk": "^2.10.1",
Library URL
https://github.com/kinde-oss/kinde-auth-nextjs
Library version
^2.6.2-5, the latest
Operating system(s)
Windows
Operating system version(s)
Win 11
Further environment details
No response
Reproducible test case URL
No response
Additional information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working