SUSE / Portus

Authorization service and frontend for Docker registry (v2)
http://port.us.org/
Apache License 2.0
3k stars 471 forks source link

OpenID-Connect Availability #2305

Closed luckyf closed 3 years ago

luckyf commented 4 years ago

Description

Hi @mssola, is OpenID-Connect implemented in v2.4.3 or under active development?

Checking this configuration it seems like it is available. In the documentation, the configuration switches are not mentioned.

When I enable OpenID-Connect with environment variables, my login screen doesn't show any button to login via OIDC.

Steps to reproduce

  1. Running Portus with Registry v2.6
  2. Adding env variables:

        - name: PORTUS_OAUTH_OPENID_CONNECT_ENABLED
          value: "false"
        - name: PORTUS_OAUTH_OPENID_CONNECT_ISSUER
          value: "https://auth.MYDOMAIN.net/auth/realms/MYREALM"
        - name: PORTUS_OAUTH_OPENID_CONNECT_IDENTIFIER
          value: "app-portus"
        - name: PORTUS_OAUTH_OPENID_CONNECT_SECRET
          value: "xxxxxxxx-xxxxxxxx-xxxx-xxxxxxxxxxxx"

Portus version: opensuse/portus:2.4.3 DIGEST:sha256:3767cc0b23ea413f05ebc9aa17c3b620fdabea81bafd3ade5a14ab8e46eb7418

stale[bot] commented 3 years ago

Thanks for all your contributions! This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.