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

Improve organization user ID and username resolving logics. #20575

Closed
sadilchamishka opened this issue Jun 23, 2024 · 3 comments
Closed

Improve organization user ID and username resolving logics. #20575

sadilchamishka opened this issue Jun 23, 2024 · 3 comments
Labels

Comments

@sadilchamishka
Copy link
Contributor

Describe the issue:

The federated users from the organization SSO flow is more towards local user handling rather treating as federated user. Hence improve the codebase to handle the user resolving logics in a proper way.

@sadilchamishka
Copy link
Contributor Author

sadilchamishka commented Jun 24, 2024

Testing effort.

There are two type of token revocation triggering events can be occurred.

  1. From an actions done from root org level.
  2. From an actions done from the organization itself.

From an actions done from root org level.

  • Deactivate the organization.
    Switched tokens get revoked. Direct SSO admin user tokens get revoked.
  • Unshare the b2b app.
    The token against that org and the federated token get revoked.

From an actions done from the organization itself.

  • Remove a role from the organization user
    The token against that org get revoked.
  • Delete the organization user.
    The token against that org and the federated token get revoked.

@sadilchamishka
Copy link
Contributor Author

Verified in DEV.
An active sub-organization token was get inactive after disabling the organization.

Screen.Recording.2024-07-02.at.14.49.41.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant