SSO: Add support for OAuth2 providers that do not support oidc
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- rust
- Bereich
- authentication, security
Rechercherichtung
Start with the SSO documentation and the sqlpage.json settings described in the issue, then review the failing https://github.com/.well-known/openid-configuration request and the linked OAuth documentation. Done means either defining a supported path for OAuth2-only providers such as GitHub or clearly documenting that only OIDC discovery is supported.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
🧩 Problem
I tried configuring GitHub authentication using the following in my sqlpage.json:
{
"oidc_issuer_url": "https://github.com",
"oidc_client_id": "<my-client-id>",
"oidc_client_secret": "<my-client-secret>",
"host": "localhost:8080"
}
However, SQLPage fails to start with the following error:
Failed to discover OIDC provider metadata
Caused by:
Server returned invalid response: HTTP status code 404 Not Found at https://github.com/.well-known/openid-configuration
This happens because GitHub is not a full OpenID Connect (OIDC) provider — it supports OAuth 2.0, but does not expose .well-known/openid-configuration, nor does it provide an id_token.
🔍 Expected Behavior
Given that GitHub is listed in the SQLPage OIDC documentation, it would be great if SQLPage could support OAuth2-only providers like GitHub, either by:
-
Allowing manual configuration of:
authorization_endpointtoken_endpointuserinfo_endpointscopes
-
Disabling
.well-knowndiscovery for non-OIDC providers
This way, SQLPage could support a broader range of providers, such as GitHub, Discord, Slack, etc.
💡 Suggested Workaround
Until then, developers must proxy GitHub through a full OIDC layer (e.g. Auth0, Keycloak, or Authentik) in order to integrate GitHub login with SQLPage.
📎 References
- GitHub OAuth Docs: https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/authorizing-oauth-apps
- Fails at:
https://github.com/.well-known/openid-configuration(404) - Example working provider:
https://accounts.google.com/.well-known/openid-configuration
✅ Request
Please add support for manual OIDC configuration (without issuer discovery), or clarify the limitations of GitHub auth in the documentation.
- Vorherrschende Sprache
- Rust
- Sterne
- 2.6k
- Forks
- 175
- Ø Merge
- 14 Std. 16 Min.
- Gemergte PRs (30 T.)
- 43
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus sqlpage/SQLPage
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
sqlpage/SQLPage#1218 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
There is no convenient way to reproduce issuesEvtl. vergeben @81reap hat das vor 26 Tagen übernommen. Offenenhancement
sqlpage/SQLPage#1566 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Confusing sort interfaceEvtl. vergeben @lovasoa hat das vor 73 Tagen übernommen. Offenbug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 20/100
sqlpage/SQLPage#1442 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Mutation Testing Results :: Dead Code + Missing TestsEvtl. wieder frei @81reap hat das vor 61 Tagen übernommen, und es ist kein Pull Request offen. Offen
sqlpage/SQLPage#1396 · 5 Kommentare · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in sqlpage/SQLPage
Ähnliche Issues
-
CI/CD ignore-for-release
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
eclipse-ankaios/ankaios#844 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Maintainer antworten meist innerhalb von 1 Tag
-
std: `SliceIndex<str>` missing for `std::ops` ranges, so generic `R: SliceIndex<str>` bounds failOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
symposium-dev/symposium#530 ·
Maintainer antworten meist innerhalb von 5 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag