I have a service where people can add vanity domains. I want to enable adding a social, email, and passwordless login to their vanity domains (and when released 2FA).
Is it possible to create a branding for the entire login process from the custom domain that's added or will the visitor see super tokens?
r
rp_st
03/15/2023, 11:44 AM
hey @Advany this is possible.
rp_st
03/15/2023, 11:46 AM
You can store the mapping of the custom branding to the user in your own db, and before doing supertokens.init on the frontend, you can fetch the custom branding for the current domain, based on which you can set the styles object dynamically when doing supertokens.init.
a
Advany
03/15/2023, 11:50 AM
Awesome. And how about social logins? Will users see redirect back to supetokens?
r
rp_st
03/15/2023, 11:55 AM
no. The redirect back to supertokens.com happens only if you use the dev credentials we have on our site. If you use your own credentials, it will redirect you to wherever you have configured on the provider's dashboard
a
Advany
03/15/2023, 12:47 PM
Ok awesome. How about the emails and passwordless login using email? can I customize that as well?
r
rp_st
03/15/2023, 12:56 PM
yes you can. See the emailDelivery section in our docs
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).