supabase-community / auth-ui

Pre-built Auth UI for React
https://supabase.com/docs/guides/auth/auth-helpers/auth-ui
MIT License
488 stars 121 forks source link

Document how to use multiple providerScopes #264

Open lhotwll217 opened 4 months ago

lhotwll217 commented 4 months ago

Improve documentation

Link

Add a link to the page which needs improvement (if relevant)

Describe the problem

No example on using more than one provider scope so I am just guessing that it is separating them by space or comma and not sure if it is right. I would assume it would be an array of strings. Is there actual API documentation instead of the Supabase examples that are simple.

Describe the improvement

Explain how to use multiple provider scopes. Or change array of strings if multiple are supported, that may be more intuitive.

Additional context

This is my current guess:

providerScopes={{ google: "https://www.googleapis.com/auth/spreadsheets, https://www.googleapis.com/auth/drive.file", }}