Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#271 7 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
1-2 giorni
Idoneità per principianti
42/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github, python

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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!

Lingua principale
Python
Stelle
577
Fork
29
Merge medio
3g 39m
PR unite (30g)
5

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di apache/openserverless

Tutte le issue di apache/openserverless

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.