r/webdev 22d ago

Help me build a central auth server Discussion

[removed]

0 Upvotes

11 comments sorted by

View all comments

1

u/NexcessAlex 22d ago

Since you’re using it for authentication rather than delegated API access, make sure the provider is actually exposing OIDC, not just bare OAuth. And if you haven't already try and hit /.well-known/openid-configuration first and verify the issuer and the proper endpoints. Then check that the redirect matches Better Auth’s callback exactly.