Skip to content

Remove "OIDC_AUTH_URL" env variable from service configuration #158

Description

@DnPlas

Context

The OIDC_AUTH_URL is used to initiate the Authorization Code Flow. This client is actually capable of discovering this value by hitting the OIDC provider's (e.g. Dex) .well-known endpoint, so as long as the OIDC provider is exposing this information, it should be enough.

Right now, this value is hard coded to /dex/auth, and while it is not incorrect, it is preferred that the OIDC provider (in this case dex-auth) sets it, in the end this is the charm that will know this information. oidc-gatekeeper on its side can just infer it in order to keep these values accurate and equal in both charms.

This task depends on canonical/dex-auth-operator#202

What needs to get done

Remove the OIDC_AUTH_URL env variable and allow the client to infer it form dex-auth's .well-known endpoint.

Definition of Done

The oidc-gatekeeper does not depend on the variable for initiating the Authorization flow.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions