SAML authentication #41

Closed
opened 2026-03-13 07:28:32 -05:00 by GiteaMirror · 71 comments
Owner

Originally created by @osdiab on GitHub (Oct 5, 2024).

For enterprise usecases; it is possible to achieve this with OAuth and running SAML Jackson, but would be nice to not need that extra dependency.

https://github.com/boxyhq/jackson

Originally created by @osdiab on GitHub (Oct 5, 2024). For enterprise usecases; it is possible to achieve this with OAuth and running SAML Jackson, but would be nice to not need that extra dependency. https://github.com/boxyhq/jackson
GiteaMirror added the enhancement label 2026-03-13 07:28:32 -05:00
Author
Owner

@HeyGarrison commented on GitHub (Feb 4, 2025):

+1

@HeyGarrison commented on GitHub (Feb 4, 2025): +1
Author
Owner

@gsaandy commented on GitHub (Feb 5, 2025):

Hello, awesome community! Any updates on this?

@gsaandy commented on GitHub (Feb 5, 2025): Hello, awesome community! Any updates on this?
Author
Owner

@stevica-canadi commented on GitHub (Feb 5, 2025):

+1

@stevica-canadi commented on GitHub (Feb 5, 2025): +1
Author
Owner

@spugachev commented on GitHub (Feb 5, 2025):

+1

@spugachev commented on GitHub (Feb 5, 2025): +1
Author
Owner

@leobudima commented on GitHub (Feb 6, 2025):

+1

@leobudima commented on GitHub (Feb 6, 2025): +1
Author
Owner

@amxv commented on GitHub (Feb 6, 2025):

+1. @ssoready also provides a SAML over OAuth flow. They have some code examples for NextAuth.js but I imagine this can't be too hard to implement with Better Auth:

https://ssoready.com/docs/saml-over-oauth-saml-nextauth-integration

@amxv commented on GitHub (Feb 6, 2025): +1. @ssoready also provides a SAML over OAuth flow. They have some code examples for NextAuth.js but I imagine this can't be too hard to implement with Better Auth: [https://ssoready.com/docs/saml-over-oauth-saml-nextauth-integration](https://ssoready.com/docs/saml-over-oauth-saml-nextauth-integration)
Author
Owner

@WonderPanda commented on GitHub (Feb 6, 2025):

This would be an unbelievably massive contribution to the auth ecosystem for NodeJS. We currently use SAML Jackson as an additional service to facilitate a SAML over OAuth Flow but if Better Auth could do this instead and we could drop this additional dependency it would be huge

@WonderPanda commented on GitHub (Feb 6, 2025): This would be an unbelievably massive contribution to the auth ecosystem for NodeJS. We currently use SAML Jackson as an additional service to facilitate a SAML over OAuth Flow but if Better Auth could do this instead and we could drop this additional dependency it would be huge
Author
Owner

@ddwebdevv commented on GitHub (Feb 8, 2025):

YES please! we need SAML too! want to use better-auth for everything!

@ddwebdevv commented on GitHub (Feb 8, 2025): YES please! we need SAML too! want to use better-auth for everything!
Author
Owner

@SohelIslamImran commented on GitHub (Feb 8, 2025):

+1

@SohelIslamImran commented on GitHub (Feb 8, 2025): +1
Author
Owner

@MattLParker commented on GitHub (Feb 9, 2025):

+1

@MattLParker commented on GitHub (Feb 9, 2025): +1
Author
Owner

@aheidelberg commented on GitHub (Feb 12, 2025):

+1

@aheidelberg commented on GitHub (Feb 12, 2025): +1
Author
Owner

@mshornikov commented on GitHub (Feb 12, 2025):

+1

@mshornikov commented on GitHub (Feb 12, 2025): +1
Author
Owner

@t3duk commented on GitHub (Feb 13, 2025):

Would be great if a SAML IdP plugin came from this too.

@t3duk commented on GitHub (Feb 13, 2025): Would be great if a SAML IdP plugin came from this too.
Author
Owner

@infoflowtech commented on GitHub (Feb 15, 2025):

+1

@infoflowtech commented on GitHub (Feb 15, 2025): +1
Author
Owner

@yassinrais commented on GitHub (Feb 19, 2025):

+1

@yassinrais commented on GitHub (Feb 19, 2025): +1
Author
Owner

@jaime-rr commented on GitHub (Feb 21, 2025):

+1

@jaime-rr commented on GitHub (Feb 21, 2025): +1
Author
Owner

@Korabi123 commented on GitHub (Feb 22, 2025):

+1

@Korabi123 commented on GitHub (Feb 22, 2025): +1
Author
Owner

@yamz8 commented on GitHub (Feb 26, 2025):

+1

@yamz8 commented on GitHub (Feb 26, 2025): +1
Author
Owner

@jakst commented on GitHub (Feb 27, 2025):

Please stop commenting +1. It sends useless notifications to everyone who subscribes to this issue. Add a thumbs up to the original post if you want to show your support.

@jakst commented on GitHub (Feb 27, 2025): Please stop commenting +1. It sends useless notifications to everyone who subscribes to this issue. Add a thumbs up to the original post if you want to show your support.
Author
Owner

@gellaz commented on GitHub (Feb 27, 2025):

+1

@gellaz commented on GitHub (Feb 27, 2025): +1
Author
Owner

@thinh-trinh-duc commented on GitHub (Mar 5, 2025):

+1
Damn it, I accidentally posted before read this comment.
Sorry guys

@thinh-trinh-duc commented on GitHub (Mar 5, 2025): ~~+1~~ Damn it, I accidentally posted before read [this](https://github.com/better-auth/better-auth/issues/96#issuecomment-2687671970) comment. Sorry guys
Author
Owner

@Bekacru commented on GitHub (Mar 19, 2025):

thanks for upvoting. soon! top of our list :))

@Bekacru commented on GitHub (Mar 19, 2025): thanks for upvoting. soon! top of our list :))
Author
Owner

@Qodestackr commented on GitHub (Mar 19, 2025):

+2

@Qodestackr commented on GitHub (Mar 19, 2025): +2
Author
Owner

@Qodestackr commented on GitHub (Mar 19, 2025):

thanks for upvoting. soon! top of our list :))

Any guide on working with OIDC? I am having alot of pain figuring out, esp lack of jwks endpoint and how to find a way to atleast work. Also, kindly mention on docs Vercel has quirks when reaching .well-known/openid-configuration

@Qodestackr commented on GitHub (Mar 19, 2025): > thanks for upvoting. soon! top of our list :)) Any guide on working with OIDC? I am having alot of pain figuring out, esp lack of jwks endpoint and how to find a way to atleast work. Also, kindly mention on docs Vercel has quirks when reaching `.well-known/openid-configuration`
Author
Owner

@Hyperscale1 commented on GitHub (Mar 21, 2025):

+1

@Hyperscale1 commented on GitHub (Mar 21, 2025): +1
Author
Owner

@stevica-attensi commented on GitHub (Apr 3, 2025):

+1

@stevica-attensi commented on GitHub (Apr 3, 2025): +1
Author
Owner

@younisshah commented on GitHub (Apr 3, 2025):

+1

@younisshah commented on GitHub (Apr 3, 2025): +1
Author
Owner

@ulic75 commented on GitHub (Apr 12, 2025):

+1

@ulic75 commented on GitHub (Apr 12, 2025): +1
Author
Owner

@kvnm93 commented on GitHub (Apr 14, 2025):

+1

@kvnm93 commented on GitHub (Apr 14, 2025): +1
Author
Owner

@Hyperscale1 commented on GitHub (Apr 20, 2025):

+1

@Hyperscale1 commented on GitHub (Apr 20, 2025): +1
Author
Owner

@rinarakaki commented on GitHub (Apr 21, 2025):

I’d appreciate it if you could share with us the estimated timeline for SAML support to be released (and the working branch/PR)! Because this really is the blocker for us to decide to migrate from next-auth.

@rinarakaki commented on GitHub (Apr 21, 2025): I’d appreciate it if you could share with us the estimated timeline for SAML support to be released (and the working branch/PR)! Because this really is the blocker for us to decide to migrate from next-auth.
Author
Owner

@SohelIslamImran commented on GitHub (Apr 21, 2025):

I’d appreciate it if you could share with us the estimated timeline for SAML support to be released (and the working branch/PR)! Because this really is the blocker for us to decide to migrate from next-auth.

Same... @Bekacru

@SohelIslamImran commented on GitHub (Apr 21, 2025): > I’d appreciate it if you could share with us the estimated timeline for SAML support to be released (and the working branch/PR)! Because this really is the blocker for us to decide to migrate from next-auth. Same... @Bekacru
Author
Owner

@chitalian commented on GitHub (Apr 22, 2025):

+1

@chitalian commented on GitHub (Apr 22, 2025): +1
Author
Owner

@uyrabi commented on GitHub (Apr 24, 2025):

+1

@uyrabi commented on GitHub (Apr 24, 2025): +1
Author
Owner

@Whats-A-MattR commented on GitHub (Apr 24, 2025):

Any guide on working with OIDC? I am having alot of pain figuring out, esp lack of jwks endpoint and how to find a way to atleast work. Also, kindly mention on docs Vercel has quirks when reaching .well-known/openid-configuration

This has nothing to do with the Issue you're commenting on.

@Whats-A-MattR commented on GitHub (Apr 24, 2025): > Any guide on working with OIDC? I am having alot of pain figuring out, esp lack of jwks endpoint and how to find a way to atleast work. Also, kindly mention on docs Vercel has quirks when reaching `.well-known/openid-configuration` This has nothing to do with the Issue you're commenting on.
Author
Owner

@mags-sully commented on GitHub (Apr 30, 2025):

I can't get buy-in on the project without SAML 😭

@mags-sully commented on GitHub (Apr 30, 2025): I can't get buy-in on the project without SAML 😭
Author
Owner

@niraj-khatiwada commented on GitHub (May 2, 2025):

+1

@niraj-khatiwada commented on GitHub (May 2, 2025): +1
Author
Owner

@mc-eugenea commented on GitHub (May 2, 2025):

+1

@mc-eugenea commented on GitHub (May 2, 2025): +1
Author
Owner

@SinanOezkan commented on GitHub (May 9, 2025):

+1

@SinanOezkan commented on GitHub (May 9, 2025): +1
Author
Owner

@standrd commented on GitHub (May 12, 2025):

+1, been checking this issue frequently, can't wait to start using better-auth once this is in.

@standrd commented on GitHub (May 12, 2025): +1, been checking this issue frequently, can't wait to start using better-auth once this is in.
Author
Owner

@maccman commented on GitHub (May 12, 2025):

+1

@maccman commented on GitHub (May 12, 2025): +1
Author
Owner

@smlarkin commented on GitHub (May 13, 2025):

+1

@smlarkin commented on GitHub (May 13, 2025): +1
Author
Owner

@agoldstein03 commented on GitHub (May 13, 2025):

+1, would influence our decision to switch :)

@agoldstein03 commented on GitHub (May 13, 2025): +1, would influence our decision to switch :)
Author
Owner

@TahaBoulehmi commented on GitHub (May 15, 2025):

+1

@TahaBoulehmi commented on GitHub (May 15, 2025): +1
Author
Owner

@JWijnakker commented on GitHub (May 17, 2025):

+1

@JWijnakker commented on GitHub (May 17, 2025): +1
Author
Owner

@Dawsson commented on GitHub (May 18, 2025):

+1

@Dawsson commented on GitHub (May 18, 2025): +1
Author
Owner

@yamz8 commented on GitHub (May 18, 2025):

Coming soon fellas

https://x.com/imbereket/status/1924143626260770975?s=46

@yamz8 commented on GitHub (May 18, 2025): Coming soon fellas https://x.com/imbereket/status/1924143626260770975?s=46
Author
Owner

@imranhou commented on GitHub (May 19, 2025):

+1

@imranhou commented on GitHub (May 19, 2025): +1
Author
Owner

@mfilipiec commented on GitHub (May 20, 2025):

+1

@mfilipiec commented on GitHub (May 20, 2025): +1
Author
Owner

@railaru commented on GitHub (May 24, 2025):

+1

@railaru commented on GitHub (May 24, 2025): +1
Author
Owner

@aimming commented on GitHub (May 27, 2025):

+1

@aimming commented on GitHub (May 27, 2025): +1
Author
Owner

@FredrikZeiner commented on GitHub (Jun 2, 2025):

Coming soon fellas

https://x.com/imbereket/status/1924143626260770975?s=46

Awesome

@FredrikZeiner commented on GitHub (Jun 2, 2025): > Coming soon fellas > > https://x.com/imbereket/status/1924143626260770975?s=46 Awesome
Author
Owner

@CharlesZhao27 commented on GitHub (Jun 5, 2025):

+1

@CharlesZhao27 commented on GitHub (Jun 5, 2025): +1
Author
Owner

@bhagyamudgal commented on GitHub (Jun 5, 2025):

+1

@bhagyamudgal commented on GitHub (Jun 5, 2025): +1
Author
Owner

@LuciaBeron3456 commented on GitHub (Jun 6, 2025):

+1

@LuciaBeron3456 commented on GitHub (Jun 6, 2025): +1
Author
Owner

@thattimc commented on GitHub (Jun 7, 2025):

+1

@thattimc commented on GitHub (Jun 7, 2025): +1
Author
Owner

@Nishchit14 commented on GitHub (Jun 10, 2025):

@Bekacru is there any ETA on this feature?

@Nishchit14 commented on GitHub (Jun 10, 2025): @Bekacru is there any ETA on this feature?
Author
Owner

@RSginer commented on GitHub (Jun 10, 2025):

+1

@RSginer commented on GitHub (Jun 10, 2025): +1
Author
Owner

@ghost commented on GitHub (Jun 11, 2025):

+1

@ghost commented on GitHub (Jun 11, 2025): +1
Author
Owner

@ahmadalzoubi31 commented on GitHub (Jun 15, 2025):

+1

@ahmadalzoubi31 commented on GitHub (Jun 15, 2025): +1
Author
Owner

@lecramr commented on GitHub (Jun 16, 2025):

+1

@lecramr commented on GitHub (Jun 16, 2025): +1
Author
Owner

@houssaineamzil commented on GitHub (Jun 19, 2025):

+1

@houssaineamzil commented on GitHub (Jun 19, 2025): +1
Author
Owner

@florianamette commented on GitHub (Jun 20, 2025):

+1

@florianamette commented on GitHub (Jun 20, 2025): +1
Author
Owner

@Cedric0852 commented on GitHub (Jun 22, 2025):

+1

@Cedric0852 commented on GitHub (Jun 22, 2025): +1
Author
Owner

@yamz8 commented on GitHub (Jun 22, 2025):

Coming on the 27th

https://x.com/imbereket/status/1934473343580975381?s=46

@yamz8 commented on GitHub (Jun 22, 2025): Coming on the 27th https://x.com/imbereket/status/1934473343580975381?s=46
Author
Owner

@blobgetblob commented on GitHub (Jun 27, 2025):

+1, also saml-provider would be great (like oidc-provider), for some legacy services thats only supports saml...

@blobgetblob commented on GitHub (Jun 27, 2025): +1, also saml-provider would be great (like oidc-provider), for some legacy services thats only supports saml...
Author
Owner

@rajdeep-ghosh commented on GitHub (Jun 30, 2025):

+1

@rajdeep-ghosh commented on GitHub (Jun 30, 2025): +1
Author
Owner

@Gautham495 commented on GitHub (Jul 2, 2025):

+1

@Gautham495 commented on GitHub (Jul 2, 2025): +1
Author
Owner

@niraj-khatiwada commented on GitHub (Jul 2, 2025):

Thanks @Bekacru .Can't wait to implement this on my product.

@niraj-khatiwada commented on GitHub (Jul 2, 2025): Thanks @Bekacru .Can't wait to implement this on my product.
Author
Owner

@Nishchit14 commented on GitHub (Jul 3, 2025):

@Bekacru The doc is not updated yet or SAML is not released yet in production? just curious to know.

Image
@Nishchit14 commented on GitHub (Jul 3, 2025): @Bekacru The doc is not updated yet or SAML is not released yet in production? just curious to know. <img width="859" alt="Image" src="https://github.com/user-attachments/assets/2da0caf9-c5aa-45d4-b48b-c46f35b34044" />
Author
Owner

@mzupan commented on GitHub (Jul 3, 2025):

https://beta.better-auth.com/docs/plugins/sso

You also need to install the beta version

@mzupan commented on GitHub (Jul 3, 2025): https://beta.better-auth.com/docs/plugins/sso You also need to install the beta version
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#41