Skip to content

feat(auth): auto-join SSO users to first shared team on login#15

Merged
UsamaSadiq merged 4 commits into
foss-mainfrom
jawad/default-workspace-feat
May 14, 2026
Merged

feat(auth): auto-join SSO users to first shared team on login#15
UsamaSadiq merged 4 commits into
foss-mainfrom
jawad/default-workspace-feat

Conversation

@jawad-khan
Copy link
Copy Markdown

Related Ticket

Description: auth_request.clj now calls auto-join-team! after resolving every profile via X-Auth-Request headers. If the profile has no membership in any non-default team, they are added to the first provisioned shared team as an editor (can-edit=true).

Summary

Steps to reproduce

Checklist

  • Choose the correct target branch; use develop by default.
  • Provide a brief summary of the changes introduced.
  • Add a detailed explanation of how to reproduce the issue and/or verify the fix, if applicable.
  • Include screenshots or videos, if applicable.
  • Add or modify existing integration tests in case of bugs or new features, if applicable.
  • Refactor any modified SCSS files following the refactor guide.
  • Check CI passes successfully.
  • Update the CHANGES.md file, referencing the related GitHub issue, if applicable.

Comment thread backend/src/app/http/auth_request.clj Outdated
Signed-off-by: Usama Sadiq <usama7274@gmail.com>
@UsamaSadiq UsamaSadiq merged commit eea1873 into foss-main May 14, 2026
0 of 10 checks passed
aznszn pushed a commit that referenced this pull request May 15, 2026
* feat: Add user in default workspace on login
* fix: fixed workspace issue
* ✨ Auto join SSO users to provisioned
* fix: update backend/src/app/http/auth_request.clj
Signed-off-by: Usama Sadiq <usama7274@gmail.com>
---------

Co-authored-by: Usama Sadiq <usama.sadiq@arbisoft.com>
aznszn pushed a commit that referenced this pull request May 15, 2026
* feat: Add user in default workspace on login
* fix: fixed workspace issue
* ✨ Auto join SSO users to provisioned
* fix: update backend/src/app/http/auth_request.clj
Signed-off-by: Usama Sadiq <usama7274@gmail.com>
---------

Co-authored-by: Usama Sadiq <usama.sadiq@arbisoft.com>
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.

2 participants