You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug and steps to reproduce
My company's SSO matches users based on username. We have SSO setup in our full sandbox in addition to prod, meaning the username must be the same for a given user in each environment (I think this used to be not possible, but it is definitely possible now).
Jetstream will only allow me to have one of these environments at a time, I assume because username is used as the unique identifier. When I try to auth the second environment, the previous one I auth'd disappears.
Expected behavior
I can have both of these environments stored in Jetstream at the same time.
Browser and operating system:
Chrome, macOS
The text was updated successfully, but these errors were encountered:
@kacrouse - Jetstream uses orgId+userId as the unique key, and those should always be different.
After going through the authorization flow, Jetstream calls the userInfo endpoint to get your info (e.g. something like https://login.salesforce.com/id/00D6g000008KX1jEAG/0056g000004tCpaAAE) and from the response of that the unique id is constructed ${jetstreamConn.sessionInfo.organizationId}-${jetstreamConn.sessionInfo.userId}
And the org would only be replaced if this id were to be the same.
Are you 100% sure the SSO process is not redirecting to the other org silently during the redirect process?
Try using the "custom login URL" - as that is the only failsafe way to make sure you login to the right org
Can you try logging in without SSO as shown in the screenshot to see if that works?
I will look into those things you mentioned and report back.
In the meantime I have just changed my username in the sandbox to be different from the prod username, though obviously not ideal longterm since I can't use SSO with it.
Describe the bug and steps to reproduce
My company's SSO matches users based on username. We have SSO setup in our full sandbox in addition to prod, meaning the username must be the same for a given user in each environment (I think this used to be not possible, but it is definitely possible now).
Jetstream will only allow me to have one of these environments at a time, I assume because username is used as the unique identifier. When I try to auth the second environment, the previous one I auth'd disappears.
Expected behavior
I can have both of these environments stored in Jetstream at the same time.
Browser and operating system:
Chrome, macOS
The text was updated successfully, but these errors were encountered: