Switch organization for logged in user

I am using sveltkit, after a user logs by selecting their organization, is it possible to switch the logged in organization without logging out? I asked @Ask Inkeep and it didn't have an answer
6 Replies
Ask Inkeep
Ask Inkeep2mo ago
Hmmm.. it seems I’m not enabled to reply in this channel. Please contact a team member for help.
IkiTg07
IkiTg072mo ago
From what i know it's not
Claire_Kinde
Claire_Kinde2mo ago
Kinde docs
Build a switch to navigate between organizations
Our developer tools provide everything you need to get started with Kinde.
Claire_Kinde
Claire_Kinde2mo ago
And this one . You can maintain authenticated sessions across front-end and web apps using refresh tokens. https://docs.kinde.com/authenticate/manage-authentication/user-auth-applications/?r=search#_top
chrisogden.
chrisogden.OP2mo ago
@Claire_Kinde Thank you! While that example isn't an exact match for sveltekit I was able to use it to accomplish the goal in my switch function I used ``goto(\/api/auth/login?org_code=${orgCode}`)
Claire_Kinde
Claire_Kinde2mo ago
Fantastic Chris! 🙌
Want results from more Discord servers?
Add your server