Skip to content

OIDC credentials not able to pull from secrets file provider #5131

Description

@2rpgo2

Hello,

I'm currently using v2.4.0 of Flipt OSS. I'd like to use the secrets file provider for retrieving the OIDC authentication provider credentials (i.e. client_id and client_secret). The below configuration does not work for me.

oidc:
  providers:
    keycloak:
      client_id: ${secret:file:clientid}
      client_secret: ${secret:file:clientsecret}

Hard coding the credentials works fine or using an environment variable such as the example below:

oidc:
  providers:
    keycloak:
      client_id: ${env:CLIENT_ID}
      client_secret: ${env:CLIENT_SECRET}

The secrets file provider works fine with credentials.[I].access_token.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status
    Done
    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions