Closed accesstechnology-mike closed 1 year ago
I haven't tested this but you should be able to do
<Auth
supabaseClient={supabase}
providers={['google']}
queryParams={{
hd: 'mycollege.edu'
}}
/>
That's got it, thanks. Required update to latest release to recognise queryParams
Is it possible to restrict login to a specific Google Workspace domain (e.g. using the 'hd' parameter)?
https://developers.google.com/identity/openid-connect/openid-connect#hd-param