This repository has been archived by the owner on Jun 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 214
AcquireTokenSilent #144
Comments
The feature is definitely implemented. Are you executing the example code precisely as is, or did you modify anything in it? Typical issues with AcquireTokenSilent in web scenarios are:
|
Hi Vittorio, thanks a lot for the quick response. You are right, I think I misunderstood the samples and my scenario its a little bit different. Thing is I didn't get a token before a call to AcquireTokenSilent. Regards, |
If you use the latest 2.24 then you will get an inner exception that will tell you why acquire token silent failed. Can you check and share the details. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi! I'm having this exception when trying to run the AcquireTokenSilent method on AuthenticationContext class :
AdalSilentTokenAcquisitionException
Message : Failed to acquire token silently. Call method AcquireToken.
I'm following this sample code https://github.com/AzureADSamples/WebApp-WebAPI-OpenIDConnect-DotNet, so the scenario is the same. I searched on the web but every solution I found wasn't the right one. I also took a look at the source code and I found this code in the AcquireTokenSilentHandler class :
So, is this feature not implemented or I just can't figure out what is going on?
Thanks a lot.
Rodrigo
The text was updated successfully, but these errors were encountered: