alex2704
alex2704

Reputation: 143

How to implement anonymous authorization using Supabase?

Is there a way to implement anonymous authorization using Supabase?

I have a mobile app and I want to implement the following functionality:
Every user should have an account on the server right after the app installed. I'll use Device id as the primary identifier. This will create a temporary account. And when the user signs the ToS, it will be converted to a full-fledged account. So, I need a possibility to create a temporary account using Supabase. I didn't find anything related to this problem in the documentation.

I know that in Firebase there is a similar feature.

Can you help? Is it even possible to implement this using Supabase?

Upvotes: 14

Views: 7897

Answers (1)

Mark Burggraf
Mark Burggraf

Reputation: 626

This is an existing feature request:

https://github.com/supabase/gotrue/issues/68

The issue above references a possible way to do this now (there are probably other ways to do this as well):

this is possible today by choosing a random email address and disabling email confirmations / you can then later update the email address

Upvotes: 13

Related Questions