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

Organization Switcher #43

Open
dripoll24 opened this issue Jan 7, 2025 · 2 comments
Open

Organization Switcher #43

dripoll24 opened this issue Jan 7, 2025 · 2 comments

Comments

@dripoll24
Copy link

Im working on having an "Organization Switcher", I see the useAuth hook have a switchOrganization method, but there is no way to know organizations a user belongs to, so I'd appreciate your help in pointing to an approach for this?

@ohjonah
Copy link

ohjonah commented Jan 7, 2025

Hey @dripoll24 - does the list organization memberships api help you get a list of orgs for your user?

@dripoll24
Copy link
Author

dripoll24 commented Jan 13, 2025

@ohjonah thank you for the response, yes this looks exactly what I want but is there a way to get it directly from the client?

Or is there a way to trigger your Organization switcher from the client?

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

No branches or pull requests

2 participants