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.
[x] This change adds unit test coverage
[x] This change adds integration test coverage
[x] This change has been tested on the latest version of the platform/language or why not
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