Setting up basicAuth with K8s Operator #6472
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
|
Ah ok so there is a misconception about what that feature does! BASIC authentication is supported on the API only, not for the UI. When authentication is enabled, the UI will always use OAuth2/OIDC. But additionally you can enable BASIC auth which will allow you to use BASIC when making direct API calls to the backend. But the UI will always use OIDC (and thus Bearer Token auth when making backend calls). There is no way to configure Registry so that the UI does some sort of basic, form based login. For authentication in Registry to work at all, you will need to install an OIDC server like Keycloak (although any OIDC compliant solution should work). |
Beta Was this translation helpful? Give feedback.

Ah ok so there is a misconception about what that feature does! BASIC authentication is supported on the API only, not for the UI. When authentication is enabled, the UI will always use OAuth2/OIDC. But additionally you can enable BASIC auth which will allow you to use BASIC when making direct API calls to the backend. But the UI will always use OIDC (and thus Bearer Token auth when making backend calls).
There is no way to configure Registry so that the UI does some sort of basic, form based login.
For authentication in Registry to work at all, you will need to install an OIDC server like Keycloak (although any OIDC compliant solution should work).