auth0 / auth0-oidc-client-net

OIDC Client for .NET Desktop and Mobile applications
https://auth0.github.io/auth0-oidc-client-net/
Apache License 2.0
86 stars 49 forks source link

Support Organization Name #259

Closed frederikprijck closed 1 year ago

frederikprijck commented 1 year ago

Changes

Adds support for the organization name by extending the ID Token validation as follows:

If organization is set and has the org_ prefix, we expect an orgid claim If organization is set and does not have the org prefix, we expect an org_name claim

Testing

Please describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.

Checklist