Multi Account applications

Currently, we have the option for users to have two accounts, one is made using phone and the other is a custom logic one made using supabase.auth.admin.createUser() for a custom device management solution.

In our mobile app, we were hoping to have an option to switch between accounts, right now the only options I see going forward is saving the other accounts email and pass in a secure store but I know that is still risky.

Does anyone have any advice for this? Or I suppose since the device management is a bit more unique we could implement a custom auth flow for that using our own minted JWTs and roles etc etc
Was this page helpful?