PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Sunday, September 4, 2022

[FIXED] How to implement anonymous authorization using Supabase?

 September 04, 2022     authentication, supabase     No comments   

Issue

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?


Solution

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



Answered By - Mark Burggraf
Answer Checked By - David Marino (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing