Skip to content

oidc-discovery-provider 'use' property #2623

Closed

Description

@kfox1111

I've been trying to get Spire and Strimzi deployed Kafka to work together. I deployed the oidc-discovery-provider and connected Kafka to it. It almost works but apparently the Kafka plugin is expecting the JWKS to have the 'use' property specified. It appears optional in the spec so its arguably a Kafka plugin bug. But, there could be other oidc/oauth2 clients that have similar expectations so for compatibility reasons, the ability to have oidc-discovery-provider allow force setting the 'use' property might be useful. Perhaps a command line flag to force set the 'use' property to 'sig'?

Activity

  1. added
    good first issueIssues with this label are good candidates for first-time contributions
    on Nov 10, 2021
  2. azdagron commented on Nov 10, 2021

    @azdagron
    Member

    I think this sounds reasonable. I am tempted to just add "use" to the JWKs across the board but I am not super confident that it won't break some esoteric existing deployment. It WOULD be surprising if an implementation couldn't handle the parameter but we've seem some crazy stuff.

    command line flag

    The project does not use flags except to direct the application to a config file. I could see us growing a new jwks section in the config file for controlling rendering (assumes that we may have other properties to tweak in the future).

    Maybe something like:

    jwks {
        set_use_parameter = true
    }
    
  3. azdagron commented on Nov 10, 2021

    @azdagron
    Member

    If we got enough signal that "use" was safe across the board, we could always migrate the default to true (following our backcompat guidelines).

  4. azdagron commented on Dec 7, 2021

    @azdagron
    Member

    Fixed by #2634.

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

    good first issueIssues with this label are good candidates for first-time contributions

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions