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

Add support for Organizations [SDK-2398] #361

Merged
merged 2 commits into from
Mar 26, 2021
Merged

Add support for Organizations [SDK-2398] #361

merged 2 commits into from
Mar 26, 2021

Conversation

lbalmaceda
Copy link
Contributor

Changes

This PR adds support for organizations. It consists of two new setters added to the webauth module.

Accept an invitation to join an organization

Pass the invitationUrl parameter to the webAuth.authorize method to allow the user to accept an invitation. The given URL will be parsed and the required values extracted and used when the browser is launched.

Log in to an organization

If the organization ID is known, pass the organization parameter to the webAuth.authorize method to allow the user to log in to an organization.

When logging in into an organization, the received ID token will contain an org_id claim that will be automatically verified against the organization id requested when the authentication was started.

References

See SDK-2398

@lbalmaceda lbalmaceda requested a review from a team as a code owner March 26, 2021 10:48
@lbalmaceda lbalmaceda added this to the v2-Next milestone Mar 26, 2021
@lbalmaceda lbalmaceda added CH: Added medium This PR may require moderate effort to action, or contains many changes to review labels Mar 26, 2021
@lbalmaceda lbalmaceda merged commit 3fad40e into master Mar 26, 2021
@lbalmaceda lbalmaceda deleted the feat-org branch March 26, 2021 13:15
@lbalmaceda lbalmaceda modified the milestones: v2-Next, v2.8.0 Mar 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CH: Added medium This PR may require moderate effort to action, or contains many changes to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants