enableEmail
and socials
parameters in the AppKitConfig
object.
true
.null
or empty array to disable social login.socials
option in the AppKitConfig
object, you can control the amount of social providers you want to show on the connect screen:
socials: new[] { SocialLogin.Google }
: When you only set one social provider, it will give you a button with connect with provider
.
socials: new[] { SocialLogin.Google, SocialLogin.Discord }
: When you set 2 social providers, it will give you 2 buttons next to each other with the logo of the social provider
socials: new[] {SocialLogin.Google, SocialLogin.X, SocialLogin.Discord, SocialLogin.Apple, SocialLogin.Github}
: When you set more than 2 social providers, the first provider in the array will get a button with connect with provider
. The other providers will get a button with the logo of the social provider next to each other.
socials: Array.Empty<SocialLogin>()
or socials: null
: When you want to disable social logins.