Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#271 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
42/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github, python
Lĩnh vực
authentication, devops

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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!

Ngôn ngữ chính
Python
Star
576
Fork
29
Merge trung bình
7 giờ 7 phút
Pull request đã merge (30 ngày)
5

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của apache/openserverless

Tất cả issue của apache/openserverless

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.