Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

feat: merge openid-configuration and metdata #1068

Merged
merged 1 commit into from
Jan 29, 2021

Conversation

dopry
Copy link
Contributor

@dopry dopry commented Mar 5, 2020

Merge the .well-known/openid-configuration over any injected configuration in settings.metadata to allow clients to specify properties missing in their OIDC servers openid-configuration. This is specifically to make life easier with Auth0 or other poorly implemented OIDC servers while waiting on them to get their acts together.

applies to #1067

@brockallen brockallen added this to the 1.11.0 milestone Mar 5, 2020
@brockallen brockallen modified the milestones: 1.11.0, 1.12.0 Aug 5, 2020
Copy link

@felipereyel felipereyel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@brockallen brockallen modified the milestones: 1.12.0, 1.11.0 Jan 29, 2021
@brockallen brockallen merged commit 87f21c6 into IdentityModel:dev Jan 29, 2021
@brockallen brockallen modified the milestones: 1.11.0, 1.11.1 Jan 29, 2021
@Katona
Copy link

Katona commented Feb 3, 2021

Hi,

We are using this library, and facing some issue after this change, because we assumed that the 'injected' metadata has precedence over the 'openid-configuration'. Is there a way the force this behavior?

@brockallen
Copy link
Member

@dopry?

oklas added a commit to oklas/oidc-client-js that referenced this pull request Feb 5, 2021
@oklas
Copy link

oklas commented Feb 5, 2021

I suggests solution #1295 which save this behaviour and avoid mentioned issue after this change. Customisation of providers configuration here is also necessary.

@brockallen
Copy link
Member

Sorry @dopry -- I had to change how your PR worked. I added a new metadataSeed to act as how you wanted the pre-set metadata to work. So for what you wanted, just use that instead of setting metadata.

@dopry
Copy link
Contributor Author

dopry commented Mar 18, 2021

no worries! I was just scratching my own itch at the time.

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

Successfully merging this pull request may close these issues.

5 participants