Custom OAuth Provider
Add Discord, Microsoft, Slack — anything not in the built-in list.
A copy-paste starting point. See Custom OAuth / SSO Provider for the full contract and the client call.
Register it — a plain instance with forRoot; the repositories are injected for you:
Log in — a first-time user needs createUserIfNotExists: true (the client SDK's socialLogin() sets it):
Related
- Custom OAuth / SSO Provider — the full contract.
- Google OAuth — reference implementation.