Amal Chandran
BABetter Auth
•Created by Amal Chandran on 4/19/2025 in #help
Exploring Better Auth SSO Plugin – Guidance on authClient.sso.register Usage
@Bazza
This was my use-case
app-one is the primary platform where users authenticate using their credentials. app-two is a secondary service that users need to access. To improve user experience and security, a Single Sign-On (SSO) mechanism is required so that users already logged into app-one can access app-two without being prompted for credentials again.
This is the example repo https://github.com/amal-chandran/sso-better-auth
If you check the above comment you can see for my use case i should have used https://www.better-auth.com/docs/concepts/oauth
Insted of https://www.better-auth.com/docs/plugins/sso
So my approch is not correct for the use case.
The main reason for me to create the above repo is for reporting the issue below
https://github.com/better-auth/better-auth/issues/2360
8 replies
BABetter Auth
•Created by Amal Chandran on 4/19/2025 in #help
Exploring Better Auth SSO Plugin – Guidance on authClient.sso.register Usage
Ok, thanks for the clarification. It would be great if you can add the same in docs as well
8 replies
BABetter Auth
•Created by Amal Chandran on 2/22/2025 in #help
Can i use better auth in lambda
Let me give it a try, Thanks for the response 🥂
4 replies