Skip to content

Commit c72f3c7

Browse files
committed
Revert "Fixing silent request error cleanup"
This reverts commit cfaabe5.
1 parent cfaabe5 commit c72f3c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/msal-browser/src/app/PublicClientApplication.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,6 @@ export class PublicClientApplication {
448448
// Handle response from hash string.
449449
return await silentHandler.handleCodeResponse(hash);
450450
} catch (e) {
451-
this.browserStorage.cleanRequest();
452451
throw e;
453452
}
454453
}

samples/msal-browser-samples/VanillaJSTestApp2.0/app/ssoSilent/authConfig.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,13 @@ const graphConfig = {
2525
// Add here scopes for access token to be used at MS Graph API endpoints.
2626
const tokenRequest = {
2727
scopes: ["Mail.Read", "openid", "profile"],
28+
loginHint: "[email protected]",
2829
redirectUri: "http://localhost:30662/",
2930
forceRefresh: false // Set this to "true" to skip a cached token and go to the server to get a new token
3031
};
3132

3233
const silentRequest = {
3334
scopes: ["openid", "profile", "User.Read", "Mail.Read"],
3435
redirectUri: "http://localhost:30662/",
35-
loginHint: "[email protected]"
36+
loginHint: "[email protected]"
3637
};

0 commit comments

Comments
 (0)