convex auth nextjs middleware removes "code" query param. Conflicts with third party oauth integrati
Convex auth nextjs middleware removes the "code" query param by default which conflicts with third party integration. In my case, calendly. Their oauth 2 process returns a code param appended to my redirect uri but the convex nextjs middleware delete it and therefore I can't complete flow.
Is there a way to prefix this with convex (convexCode) instead? Or another solution to avoid conflicts?
2 Replies
Thanks for posting in <#1088161997662724167>.
Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets.
- Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.)
- Use search.convex.dev to search Docs, Stack, and Discord all at once.
- Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI.
- Avoid tagging staff unless specifically instructed.
Thank you!
See this issue in ConvexAuth https://github.com/get-convex/convex-auth/issues/145
GitHub
Convex Auth consumes pages that have "code" as search param · Issue...
Came across this curious case recently: A user is created and authenticated through Convex Auth, no problem, no sweat. As a business rule, that user needs to be able to connect a Mailchimp account ...