Re:Supabase Auth: SSO, Mobile, and Server-Side Support
by niklasd on Thursday April 13, 2023 @12:39PM
(#35558197)
Would that not be a huge security risk? You could access the SSO credentials of your users that way.
Re:Supabase Auth: SSO, Mobile, and Server-Side Support
by BuySomeDip on Thursday April 13, 2023 @12:54PM
(#35558419)
Supabase Auth engineer here.
> Question for Supabase: Is it possible to just have a form with username + password and POSTing the login details?
Yes this is how basic email+password sign-in works. No redirects are necessary. For the rest of the flows, some form of redirect is mandatory because that's how the authentication protocols work and we've found it convenient to implement other logins like magic links, email confirmations, etc.
Re:Supabase Auth: SSO, Mobile, and Server-Side Support
by kangmingtay on Friday April 14, 2023 @01:40AM
(#35565893)
If you're using Flutter, we do have a chat app example that has a basic email + password login. (https://github.com/supabase-community/flutter-chat)
One of the things that I really dislike about most auth providers is that it is very hard to implement login in your native UI. It almost always requires a redirect to a hosted UI page that is very clearly not your UI. We've found this a poor and potentially confusing user experience when you just need a form with username + password.
Question for Supabase: Is it possible to just have a form with username + password and POSTing the login details?