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
If a user attempts a broker flow but the broker isn’t available on their
machine, the flow falls back to the browser. However, since a redirect
URI was provided for the broker flow, an error is thrown.
This PR adds a check to determine whether the broker is enabled in the
config and resets the redirect URI to an empty string instead of
throwing an error.
// If a redirect URI is provided for a broker flow but MSAL runtime startup failed, we fall back to the browser flow and will ignore the redirect URI provided for the broker flow
188
+
request.redirectUri="";
184
189
}
190
+
185
191
const{ verifier, challenge }=
186
192
awaitthis.cryptoProvider.generatePkceCodes();
187
193
@@ -275,7 +281,11 @@ export class PublicClientApplication
0 commit comments