I have a service where people can add vanity domains. I want to enable adding a social, email, and p...
a
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
hey @Advany this is possible.
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
Awesome. And how about social logins? Will users see redirect back to supetokens?
r
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
Ok awesome. How about the emails and passwordless login using email? can I customize that as well?
r
yes you can. See the emailDelivery section in our docs