© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
3 replies
EL OUADI Abdelati#

SignIn with twitter

I want twitter to force login every time so i added force_login param

options const = { redirectTo: window.location.href, queryParams: { force_login: "true" } }
await supabaseWeb.auth.signIn({ provider: "twitter" }, options)
options const = { redirectTo: window.location.href, queryParams: { force_login: "true" } }
await supabaseWeb.auth.signIn({ provider: "twitter" }, options)

doesn't work even though i added it.

if you want twitter to force login every time you have to pass the force_login parameter with oauth_token when you call oauth/authorize or oauth/authenticate but supabase doesn't.
when i click on the twitter button i got this
https://xxxxxxxxx.supabase.co/auth/v1/authorize?provider=twitter&redirect_to=""&force_login=true 
https://xxxxxxxxx.supabase.co/auth/v1/authorize?provider=twitter&redirect_to=""&force_login=true 


this means that supabase does not add the force_login parameter after getting the oauth_token.

Any help ?
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

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

SignIn with user id
SupabaseSSupabase / help-and-questions
4y ago
Supabase Signin with google issue
SupabaseSSupabase / help-and-questions
8mo ago
Help with Signin – Request failed
SupabaseSSupabase / help-and-questions
4y ago
Twitter Auth with Nextjs tutorial?
SupabaseSSupabase / help-and-questions
4y ago