-
Notifications
You must be signed in to change notification settings - Fork 68
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
getSubscriptions() throws if user has signed in to two accounts #1809
Comments
@alexweininger What are the plans for this bug? I need to know if I should do a work-around for our next release, which has the change to the new API. Thanks. |
@StephenWeatherford I will try to have an answer by tomorrow morning 😄. When are you hoping to release? |
@StephenWeatherford what version of the auth package are you using? v3.0.0 included #1789 and I think that should prevent this issue. |
Unfortunately not. |
!) Next you should see a picklist of subscriptions, but you will instead see ,in the Output window, under "Bicep Operations", this error:
More details:
We call isSignedIn(), which finds that there's a session open for the first account and returns true. So then we call getSubscriptions(), which calls getTenants() on each account. The second getTenants() call throws because the second account doesn't have an open session:
The text was updated successfully, but these errors were encountered: