Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
SSO with MongoDB - Better Auth
BA
Better Auth
•
3mo ago
Rajat
SSO with MongoDB
Next.js
Has anyone succeeded in making SSO work with MongoDB
?
The documentation is non
-existent and there is no clue about how to create that
ssoProvider
ssoProvider
table in MongoDB
.
Additionally
, the documentation does not clearly mention where to keep the
register-saml-provider.ts
register-saml-provider.ts
file and how to load
/execute it
.
Better Auth
Join
9,988
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
SSO with multiple domains
BA
Better Auth / help
4w ago
Account link error with SSO
BA
Better Auth / help
2mo ago
Issues signing in with SSO
BA
Better Auth / help
7mo ago
Does SSO work with Microsoft?
BA
Better Auth / help
9mo ago