Create a SSO provider without having to insert it at runtime?

When using the SSO plugin https://www.better-auth.com/docs/plugins/sso it's weird there is no simple comfig for the proivder like there is with the GenericOAuth2 - instead it needs to be inserted by a logged-in user at runtime - and then remains tied to that user forever. I'm I missing something? If I should just use GenericOAuth2, is there a way to provision new users like you can with the SSO plugin - it would be great to be able to assign all users to a specific organization.
Single Sign-On (SSO) | Better Auth
Integrate Single Sign-On (SSO) with your application.
1 Reply
Jon
JonOP2w ago
It might be good if SSO providers could be attached to organizations instead of users, and any user with admin or right permissions in the org could administer to SSO settings - assuming the plugin is designed for "self-service" provisioning

Did you find this page helpful?