SSO Unable to do SAML registration
I try to fill in the data for registerSSOProvider according to this guide https://www.better-auth.com/docs/plugins/sso#register-a-saml-provider, But I get 401 Unauthorized. please help me with this
this is just a flow I'm currently testing on local environment. As I understand I need to call this function before my app is deployed, so it will know which SAML provider that my app is working with, but for local I just call it every time user need to authenticated. Is my approach correct?

2 Replies
@Better Auth If you can take a look, please. I really love and enjoy using your features, thank you so much
Hi there! Thanks so much for your kind words. We're thrilled to hear you're enjoying Better Auth and its features. If you have any questions, ideas, or need assistance with anything specific, just let me know—I'm here to help! [1]
Sources:
1. Introduction | Better Auth
Introduction | Better Auth
Introduction to Better Auth.