svelte-social-auth
- Purpose: Provides Google and Facebook authentication components for Svelte applications.
- Target Audience: Svelte developers needing social authentication (Google/Facebook) in their projects.
- Key Features:
- SSR Ready: Works with SvelteKit and server-side rendering.
- Svelte v3 Support: Designed for Svelte v3 compatibility.
- Customizable Buttons: Supports slotted content for custom button designs.
- Events: Emits events for auth success/failure and initialization errors.
- Components:
GoogleAuth
: Requires aclientId
and emitsauth-success
,auth-failure
, andinit-error
events.FacebookAuth
: Requires anappId
and emitsauth-success
andauth-failure
events.
- Attributes: Supports common
text
attribute for button labels, plus provider-specific IDs. - Links: Beyonk
sveltesvelte-v3googlefacebooksigninauthenticationssosocialsocial-networksocial-authenticationfacebook-logingoogle-loginbeyonkvanilla-js
Featured Stories
No featured articles here. Navigate to an article, then pick the Feature on menu button