Error AADSTS50132 using ADAL in a JS SPA app











up vote
0
down vote

favorite












I am getting this error in an SPA application a few minutes after successfully signing in. Why? The request ADAL is sending and getting this response is a request for an id_token. Why is ADAL even asking for a new id_token?





AADSTS50132: Session not fresh enough for application
Trace ID: e552c4dd-7f4e-471c-93e1-989f9e312c00
Correlation ID: eaad07bc-2105-405b-bf44-4286ada5d2e1
Timestamp: 2018-11-09 22:56:27Z









share|improve this question
























  • Can you narrow this down to the code that is causing the issue, and share the code? Take a look at stackoverflow.com/help/mcve for some tips.
    – Philippe Signoret
    Nov 18 at 9:19















up vote
0
down vote

favorite












I am getting this error in an SPA application a few minutes after successfully signing in. Why? The request ADAL is sending and getting this response is a request for an id_token. Why is ADAL even asking for a new id_token?





AADSTS50132: Session not fresh enough for application
Trace ID: e552c4dd-7f4e-471c-93e1-989f9e312c00
Correlation ID: eaad07bc-2105-405b-bf44-4286ada5d2e1
Timestamp: 2018-11-09 22:56:27Z









share|improve this question
























  • Can you narrow this down to the code that is causing the issue, and share the code? Take a look at stackoverflow.com/help/mcve for some tips.
    – Philippe Signoret
    Nov 18 at 9:19













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am getting this error in an SPA application a few minutes after successfully signing in. Why? The request ADAL is sending and getting this response is a request for an id_token. Why is ADAL even asking for a new id_token?





AADSTS50132: Session not fresh enough for application
Trace ID: e552c4dd-7f4e-471c-93e1-989f9e312c00
Correlation ID: eaad07bc-2105-405b-bf44-4286ada5d2e1
Timestamp: 2018-11-09 22:56:27Z









share|improve this question















I am getting this error in an SPA application a few minutes after successfully signing in. Why? The request ADAL is sending and getting this response is a request for an id_token. Why is ADAL even asking for a new id_token?





AADSTS50132: Session not fresh enough for application
Trace ID: e552c4dd-7f4e-471c-93e1-989f9e312c00
Correlation ID: eaad07bc-2105-405b-bf44-4286ada5d2e1
Timestamp: 2018-11-09 22:56:27Z






azure-active-directory adal adal.js






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 18 at 9:19









Philippe Signoret

6,39912443




6,39912443










asked Nov 9 at 23:07









Marc

234




234












  • Can you narrow this down to the code that is causing the issue, and share the code? Take a look at stackoverflow.com/help/mcve for some tips.
    – Philippe Signoret
    Nov 18 at 9:19


















  • Can you narrow this down to the code that is causing the issue, and share the code? Take a look at stackoverflow.com/help/mcve for some tips.
    – Philippe Signoret
    Nov 18 at 9:19
















Can you narrow this down to the code that is causing the issue, and share the code? Take a look at stackoverflow.com/help/mcve for some tips.
– Philippe Signoret
Nov 18 at 9:19




Can you narrow this down to the code that is causing the issue, and share the code? Take a look at stackoverflow.com/help/mcve for some tips.
– Philippe Signoret
Nov 18 at 9:19

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53234398%2ferror-aadsts50132-using-adal-in-a-js-spa-app%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53234398%2ferror-aadsts50132-using-adal-in-a-js-spa-app%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







這個網誌中的熱門文章

Tangent Lines Diagram Along Smooth Curve

Yusuf al-Mu'taman ibn Hud

Zucchini