Support query parameters on Redirect /callback URIs #21110
Replies: 4 comments 10 replies
-
Are you looking for this: |
Beta Was this translation helpful? Give feedback.
-
@Slyracoon23 can you clarify why you're trying to do this? Maybe I'm misunderstanding, but this has always worked for me. It's for my app to consume though, not the OAuth provider. redirectTo: `${url.origin}/auth/callback?next=/app` Then in the callback route(SvelteKit): const next = url.searchParams.get('next') ?? '/' |
Beta Was this translation helpful? Give feedback.
-
Is there any solution about it ? |
Beta Was this translation helpful? Give feedback.
-
I have the same problem. I can see the params being sent to supabase servers:
I'm sending the
So, basically the invitation_code is lost when supabase server returns. |
Beta Was this translation helpful? Give feedback.
-
Exactly this, but for supabase-js: supabase/auth#1150
Right now,
/callback
(or other redirect URIs) are appended with?code=xxx
, how do I add my own custom parameters there?Beta Was this translation helpful? Give feedback.
All reactions