[GH-ISSUE #1334] SimpleLogin OIDC provider #8697

Closed
opened 2026-04-13 03:51:40 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @josselinonduty on GitHub (Feb 2, 2025).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/1334

Is this suited for github?

  • Yes, this is suited for github

Add out-of-the-box support for simple login oidc provider.

SimpleLogin docs: https://simplelogin.io/docs/siwsl/intro/
I am not experienced enough to create this provider for now, leaving it to someone else :)

genericOAuth({
        config: [
          {
            providerId: "simplelogin",
            clientId: "<redacted>",
            clientSecret: "<redacted>",
            discoveryUrl:
              "https://app.simplelogin.io/.well-known/openid-configuration",
            scopes: ["openid", "email"],
            mapProfileToUser: async (profile) => {
              profile.id = profile.id.toString();
              profile.image = profile.avatar_url;
              return profile;
            },
          },
        ],
      }),

Note: profile id must be mapped to string. It is a short int (e.g. 1234), which leads to an error if not mapped (Argument accountId: Invalid value provided. Expected StringFilter or String, provided Int.)

Describe the solution you'd like

I would like a new entry in social-providers.

Describe alternatives you've considered

/

Additional context

No response

Originally created by @josselinonduty on GitHub (Feb 2, 2025). Original GitHub issue: https://github.com/better-auth/better-auth/issues/1334 ### Is this suited for github? - [x] Yes, this is suited for github ### Is your feature request related to a problem? Please describe. Add out-of-the-box support for simple login oidc provider. SimpleLogin docs: https://simplelogin.io/docs/siwsl/intro/ I am not experienced enough to create this provider for now, leaving it to someone else :) ```ts genericOAuth({ config: [ { providerId: "simplelogin", clientId: "<redacted>", clientSecret: "<redacted>", discoveryUrl: "https://app.simplelogin.io/.well-known/openid-configuration", scopes: ["openid", "email"], mapProfileToUser: async (profile) => { profile.id = profile.id.toString(); profile.image = profile.avatar_url; return profile; }, }, ], }), ``` Note: profile id must be mapped to string. It is a short int (e.g. 1234), which leads to an error if not mapped (`Argument `accountId`: Invalid value provided. Expected StringFilter or String, provided Int.`) ### Describe the solution you'd like I would like a new entry in `social-providers`. ### Describe alternatives you've considered / ### Additional context _No response_
GiteaMirror added the locked label 2026-04-13 03:51:40 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Jun 13, 2025):

Hi, @josselinonduty. I'm Dosu, and I'm helping the better-auth team manage their backlog. I'm marking this issue as stale.

Issue Summary

  • Request to integrate SimpleLogin as an OIDC provider in social-providers.
  • Shared a code snippet for a generic OAuth setup.
  • Highlighted the need to map the profile ID to a string to prevent errors.
  • No comments or activity on the issue yet.

Next Steps

  • Is this issue still relevant to the latest version of the better-auth repository? If so, please comment to keep the discussion open.
  • Otherwise, this issue will be automatically closed in 7 days.

Thank you for your understanding and contribution!

<!-- gh-comment-id:2970840301 --> @dosubot[bot] commented on GitHub (Jun 13, 2025): Hi, @josselinonduty. I'm [Dosu](https://dosu.dev), and I'm helping the better-auth team manage their backlog. I'm marking this issue as stale. **Issue Summary** - Request to integrate SimpleLogin as an OIDC provider in `social-providers`. - Shared a code snippet for a generic OAuth setup. - Highlighted the need to map the profile ID to a string to prevent errors. - No comments or activity on the issue yet. **Next Steps** - Is this issue still relevant to the latest version of the better-auth repository? If so, please comment to keep the discussion open. - Otherwise, this issue will be automatically closed in 7 days. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#8697