SSO: Add support for OAuth2 providers that do not support oidc
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Stack de tecnologia
- rust
- Domínio
- authentication, security
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
🧩 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.
- Linguagem predominante
- Rust
- Estrelas
- 2.6k
- Forks
- 175
- Merge médio
- 14h 16min
- PRs com merge (30d)
- 43
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de sqlpage/SQLPage
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
sqlpage/SQLPage#1218 · 3 comentários ·
Mantenedores costumam responder em até 1 dia
-
There is no convenient way to reproduce issuesTalvez já em andamento @81reap assumiu há 26 dias. Abertaenhancement
sqlpage/SQLPage#1566 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
Confusing sort interfaceTalvez já em andamento @lovasoa assumiu há 74 dias. Abertabug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 20/100
sqlpage/SQLPage#1442 · 3 comentários ·
Mantenedores costumam responder em até 1 dia
-
Mutation Testing Results :: Dead Code + Missing TestsTalvez livre de novo @81reap assumiu há 61 dias e não há nenhum pull request aberto. Aberta
sqlpage/SQLPage#1396 · 5 comentários · 1 responsável ·
Mantenedores costumam responder em até 1 dia
Todas as issues de sqlpage/SQLPage
Issues semelhantes
-
CI/CD ignore-for-release
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
eclipse-ankaios/ankaios#844 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Mantenedores costumam responder em até 1 dia
-
std: `SliceIndex<str>` missing for `std::ops` ranges, so generic `R: SliceIndex<str>` bounds failAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
symposium-dev/symposium#530 ·
Mantenedores costumam responder em até 5 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
Mantenedores costumam responder em até 1 dia