SSO: Add support for OAuth2 providers that do not support oidc
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 35/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Stack technique
- rust
- Domaine
- authentication, security
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
🧩 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.
- Langage dominant
- Rust
- Étoiles
- 2.6k
- Forks
- 175
- Merge moyen
- 14 h 16 min
- PR mergées (30 j)
- 43
Préparer son environnement
- Fournit un Dockerfile ou un fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de sqlpage/SQLPage
-
enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
Les mainteneurs répondent en général sous 1 jour
-
enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
sqlpage/SQLPage#1218 · 3 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
There is no convenient way to reproduce issuesPeut-être pris @81reap l’a pris il y a 26 jours. Ouverteenhancement
sqlpage/SQLPage#1566 · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
-
Confusing sort interfacePeut-être pris @lovasoa l’a pris il y a 73 jours. Ouvertebug
Difficulté 4/5 3-5 jours Accessibilité débutants 20/100
sqlpage/SQLPage#1442 · 3 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Mutation Testing Results :: Dead Code + Missing TestsPeut-être à nouveau libre @81reap l’a pris il y a 61 jours, et aucune pull request n’est ouverte. Ouverte
sqlpage/SQLPage#1396 · 5 commentaires · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de sqlpage/SQLPage
Issues similaires
-
CI/CD ignore-for-release
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
eclipse-ankaios/ankaios#844 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Les mainteneurs répondent en général sous 1 jour
-
std: `SliceIndex<str>` missing for `std::ops` ranges, so generic `R: SliceIndex<str>` bounds failOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
symposium-dev/symposium#530 ·
Les mainteneurs répondent en général sous 5 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Les mainteneurs répondent en général sous 1 jour