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 Inkeep3mo ago
Hmmm.. it seems I’m not enabled to reply in this channel. Please contact a team member for help.
IkiTg07
IkiTg073mo ago
From what i know it's not
CB_Kinde
CB_Kinde3mo ago
Kinde docs
Build a switch to navigate between organizations
Our developer tools provide everything you need to get started with Kinde.
CB_Kinde
CB_Kinde3mo 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.OP3mo 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}`)
CB_Kinde
CB_Kinde3mo ago
Fantastic Chris! 🙌
Want results from more Discord servers?
Add your server