Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

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

Ouverte
#271 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
1-2 jours
Accessibilité débutants
42/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
github, python

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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!

Langage dominant
Python
Étoiles
576
Forks
29
Merge moyen
7 h 7 min
PR mergées (30 j)
5

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de apache/openserverless

Toutes les issues de apache/openserverless

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.