alepha@docs:~/docs/packages/alepha/server$
cat auth.md | pretty1 min read
Last commit:
#Alepha - Server Auth
#Installation
Part of the alepha package. Import from alepha/server/auth.
npm install alepha
#Overview
OAuth2/OIDC authentication with social login providers.
Features:
- OAuth authentication provider
- Username/password authentication
- Google OAuth integration
- GitHub OAuth integration
- Apple OAuth integration
- Facebook OAuth integration
- Microsoft Entra ID (Azure AD) integration
- France Connect integration
- Cookie-based, SSR-friendly authentication
- Token management and refresh
#API Reference
#Primitives
$auth— Creates an authentication provider primitive for handling user login flows.$authApple— Already configured Apple authentication primitive.$authCredentials— Already configured Credentials authentication primitive.$authFacebook— Already configured Facebook authentication primitive.$authFranceConnect— Creates an authentication provider primitive for France Connect.$authGithub— Already configured GitHub authentication primitive.$authGoogle— Already configured Google authentication primitive.$authMicrosoft— Already configured Microsoft Entra ID (Azure AD) authentication primitive.