Skip to content

Access to auto discovery configuration #506

Open
@jkroepke

Description

Preflight Checklist

  • I could not find a solution in the existing issues, docs, nor discussions
  • I have joined the ZITADEL chat

Describe your problem

Hi,

I'm using rp.NewRelyingPartyOIDC which does an auto-discovery by default. I'm missing a method to access the auto discovery and I would like to avoid call the endpoint twice.

A goal is to detect, if PKCE is supported by provider and if yes, enable it.
An other goal is a check, if the current configured scopes are present in the scopes_supported array.

Describe your ideal solution

Having a receiver function which allow the access to the discoveryConfiguration.

discoveryConfiguration, err := client.Discover(ctx, rp.issuer, rp.httpClient, rp.DiscoveryEndpoint)

Version

3.8.1

Environment

Self-hosted

Additional Context

No response

Activity

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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status

      📨 Product Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions