hi @rp_st, I am writing to verify if supertokens would be appropriate for my use case:
I need to create 2 separate mobile apps (react-native): 1 for merchant, 1 for public
I have a common backend server that serves logic for both of those applications, since the same users can be a part of both apps, so I want these 2 apps to share the same login flow. Note that I dont necassarily need these 2 apps to share a common login UI; ie, they both can have their own respective login forms
r
rp_st
04/26/2024, 12:17 PM
Hey @Bone this is certainly possible. Check out the custom UI part of the docs for mobile integration
rp_st
04/26/2024, 12:17 PM
And pre built for web.
rp_st
04/26/2024, 12:17 PM
The backend is the same setup for both.
b
Bone
04/26/2024, 12:35 PM
thats amazing! although im unable to locate the documentation for custom UI mobile integration which you spoke of..
having a read at this doc: https://supertokens.com/docs/passwordless/common-customizations/multiple-clients
users can login to multiple frontends at the same time supposing those FEs have their own login forms, but the token transfer has to be header based. but would this still stay true for mobile applications? @rp_st
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).