ยฉ 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabaseโ€ข4y agoโ€ข
4 replies
thoschill

Why does the gotrue endpoint callback return the auth as a fragment?

I'm currently trying to extend the supabase-gotrue-kt library to handle provider login.
With Email login I can login server side and then create a cookie which I can check in an Interceptor Server Side.

When logging in with google I don't get a set cookie response header from the supabase server, I just get the url with the jwt stored as server fragment like described here:
https://supabase.com/docs/gotrue/server/about#get-callback

In the dart client the library replaces the fragment with a parameter:
https://github.com/supabase-community/gotrue-dart/blob/bc11143021da59aedd4fc106366afef358d01433/lib/src/gotrue_client.dart#L202

I would like to have access to this fragment server side so I can set a Cookie for the jwt.
https://github.com/supabase-community/gotrue-kt

Can supabase make this configurable so I get parameter and not fragments returned?
GitHub
GitHub - supabase-community/gotrue-kt: Kotlin Client for GoTrue API
Kotlin Client for GoTrue API. Contribute to supabase-community/gotrue-kt development by creating an account on GitHub.
GitHub - supabase-community/gotrue-kt: Kotlin Client for GoTrue API
GitHub
gotrue-dart/gotrue_client.dart at bc11143021da59aedd4fc106366afef35...
A dart client library for GoTrue. Contribute to supabase-community/gotrue-dart development by creating an account on GitHub.
gotrue-dart/gotrue_client.dart at bc11143021da59aedd4fc106366afef35...
GoTrue Auth Server | Supabase
An SWT based API for managing users and issuing SWT tokens
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

auth.signup() with metadata does not return a User
SupabaseSSupabase / help-and-questions
3y ago
What is the difference between netlify gotrue and supabase gotrue?
SupabaseSSupabase / help-and-questions
4y ago
Notion auth does return a url but not access token.
SupabaseSSupabase / help-and-questions
4y ago
Why does this return an empty Array?
SupabaseSSupabase / help-and-questions
4y ago