Don't understand how to configure OIDC with an existing provider
I don't understand how to configure better-auth to connect to an exiting OIDC provider. I have an OIDC provider at my company. I wrote the following to register it in
auth.js
:
Whatever I do, I always get a 400 error on the POST /api/auth/sso/register
that I see in my browser:
The documentation mentions signInWithTestUser()
and createOIDCProvider()
which seem to come from better-auth test suite but don't help me.Single Sign-On (SSO) | Better Auth
Integrate Single Sign-On (SSO) with your application.
0 Replies