Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Documentation and issues setting up (external) SSO via Keycloak IdP

Aberta
#271 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
42/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
github, python

Direção de pesquisa

Start with the linked SSO.md instructions and the ops config sso keycloak path; the report points to Kubernetes manifest validation failing because it cannot reach the API at localhost:8080. Check the ops tool's Keycloak setup and Kubernetes context, then reproduce the command against a configured cluster. Done means the command applies the SSO configuration successfully and the documented setup works.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

I want to use Keycloak as external IdP for users to the system, such that I don't have to manually create those.

Documentation I found is here https://github.com/apache/openserverless-cli/blob/main/docs/SSO.md and given by the ops tool itself as documented in issue https://github.com/apache/openserverless/issues/195 which is about integrating Keycloak into openservless.

I created a keycloak client and tried setting it up with

ops config sso keycloak --enable --issuer-url=https://keycloak.something.com/realms/something --jwks-url=https://keycloak.something.com/realms/something/protocol/openid-connect/certs --required-group=admin  --client-id=openserverless --client-secret=somesecret

which left me with

error: error validating "STDIN": error validating data: failed to download openapi: Get "http://localhost:8080/openapi/v2?timeout=32s": dial tcp [::1]:8080: connect: connection refused; if you choose to ignore these errors, turn validation off with --validate=false
error: kubectl apply -f - failed with exit code 1: error: error validating "STDIN": error validating data: failed to download openapi: Get "http://localhost:8080/openapi/v2?timeout=32s": dial tcp [::1]:8080: connect: connection refused; if you choose to ignore these errors, turn validation off with --validate=false
ops: Failed to run task "keycloak": exit status 1

Not really sure what to do here.

When fixing the state and getting it running, I'll gladly offer to do a documentation page on this!

Linguagem predominante
Python
Estrelas
576
Forks
29
Merge médio
7h 7min
PRs com merge (30d)
5

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de apache/openserverless

Todas as issues de apache/openserverless

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.