Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External Identity Providers - Groups/Teams Assignments #4349

Merged
merged 18 commits into from
Oct 23, 2024

Conversation

adrians5j
Copy link
Member

@adrians5j adrians5j commented Oct 22, 2024

Changes

This PR addresses a couple of issues related to loading of roles and teams with external identity providers (Okta, Auth0). Basically, the following two properties should now work as expected. More details below.

image

1. groups Field Now Taken Into Consideration

Prior to this PR, setting Identity roles via the groups property would not be handled. Only group was working, which was with 5.40 marked as deprecated.

2. Programatically Created Roles Now Work

Prior to this PR, trying to assign roles that were defined programatically did not work. This has now been addressed.

3. Ability To Assign Teams

Assigning teams to identities was not possible already for some time. This has now finally been taken care of.

Extra Changes

Was trying to avoid any bigger refactors, but ultimately, was not able to avoid it.

Now, both Okta and Auth0 use a single authorizer created via the createGroupsTeamsAuthorizer factory.

Previously, we had two separate authorizers, one within each package, which were basically the same. Or at least they should've been. Comparing the two revealed that the code wasn't the same and that the behaviour of these authorizers isn't the same, but should've been.

How Has This Been Tested?

Manually.

Documentation

Changelog.

@adrians5j adrians5j changed the title wip External Identity Providers - Groups/Teams Assignments Oct 22, 2024
@adrians5j adrians5j marked this pull request as draft October 22, 2024 14:05
@adrians5j adrians5j marked this pull request as ready for review October 23, 2024 13:15
@adrians5j adrians5j merged commit 7c018a1 into dev Oct 23, 2024
126 checks passed
@adrians5j adrians5j added this to the 5.41.1 milestone Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant