© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
3 replies
TomCarnay

auth-ui and scopes

Hi, I am using the auth-ui component. My app is in development and I am using the spotify auth as I want to use the web player sdk in my app. To do this I need to request certain scopes (e.g. streaming - https://developer.spotify.com/documentation/general/guides/authorization/scopes/)

According to the docs, scopes can be requested:
https://supabase.com/docs/reference/javascript/auth-signinwithoauth#sign-in-with-scopes

However, I can't figure out how to do this in the auth-ui since scopes can't be passed in using props. Has anyone else encountered this? I was wondering if I could use the provider_refresh_token but not sure if that is the right approach.
Supabase Documentation
signInWithOAuth()
signInWithOAuth()
signInWithOAuth()
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

Auth Ui
SupabaseSSupabase / help-and-questions
4y ago
Using auth-helpers and auth-ui with Zustand
SupabaseSSupabase / help-and-questions
4y ago
Auth UI localization
SupabaseSSupabase / help-and-questions
3y ago
Supabase Auth UI
SupabaseSSupabase / help-and-questions
4y ago