foundations icon indicating copy to clipboard operation
foundations copied to clipboard

feat: org switcher

Open joshbalfour opened this issue 3 months ago • 1 comments

org switching tech demo using developer portal as an example:

  • displays current org if user has access to multiple
  • adds switcher to avatar dropdown
image

This is by no means a final UI or code, just what i threw together to demo the functionality.

Where the orgs list data lives in the id token: https://github.com/reapit/foundations/pull/11637/files#diff-93bedbc474cbff17e1ccc3ad042e495e2d7ee8d70cf14a472e14ffe03fc1111bR49-R67

How to modify the /authorize link to switch orgs: https://github.com/reapit/foundations/pull/11637/files#diff-02eb170f421644f07450e97e64364eb73ee81f457f311900cb33b3d430471aadR27

Demo video:

https://github.com/user-attachments/assets/6dcc0b7c-73f8-4af0-b787-7ce7d97ac0ba

joshbalfour avatar Oct 14 '25 11:10 joshbalfour

:white_check_mark: Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
:white_check_mark: Code Security 0 0 0 0 0 issues
:white_check_mark: Open Source Security 0 0 0 0 0 issues
:white_check_mark: Licenses 0 0 0 0 0 issues

:computer: Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

rpt-uk-github avatar Oct 14 '25 11:10 rpt-uk-github