XWMS OAuth Login
How OAuth and external sign-in providers work with XWMS.
OAuth Login
XWMS supports login through XWMS itself and external providers such as Google, Microsoft, Discord, GitHub, and Facebook.
User flow
- The user starts sign-in.
- XWMS verifies the provider and configuration.
- The user completes provider authentication.
- XWMS links or resolves the provider identity.
- XWMS still applies its own account rules, including email verification and anti-abuse checks when required.
Provider identity
Provider sign-in is matched by provider identity id. Do not rely only on provider email, because provider email can change or differ from the XWMS account email.
Integration advice
Use XWMS routes and supported SDK examples instead of building your own provider callbacks unless your integration has a specific backend requirement.
XWMS Docs