Persist last active organization
I want to save the last active organization to automatically apply it to a new user session. I got the second part, but I'm unsure on how to save it in my database.
I've tried the following,
but I don't know how to get the userId
Solution:Jump to solution
GitHub
Organization set-active endpoint is missing session context · Issu...
Is this suited for github? Yes, this is suited for github To Reproduce Use the auth config from below. Call setActive from the organization plugin Current vs. Expected behavior I expect to somewher...
3 Replies
You could just use sessionStorage and do this client side
But this won't persist across longer duration or multiple devices
Push
Solution
GitHub
Organization set-active endpoint is missing session context · Issu...
Is this suited for github? Yes, this is suited for github To Reproduce Use the auth config from below. Call setActive from the organization plugin Current vs. Expected behavior I expect to somewher...