-
Notifications
You must be signed in to change notification settings - Fork 1k
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
When Access Token expires CAE doesn't kick in #657
Comments
We have been recently experiencing this issue since updating to dot net 7. We are using the in-memory cache when this issue pops up I have to reset the application to fix the issue. I have set the Absolute Expiration Relative To Now to 20 minutes Max age 1 day But this issue still happens after a few days of the production app running which makes it nearly impossible to replicate in devlopment. `
|
Any workaround for this issue? I experience the same. |
@crissb3, @JoeRicci cc: @kalyankrishna1 |
Did this get fixed in the february 14th release 7.0.3? I have tried doing what others suggest online; disabling Read-only for this folder, clearing nuget cache etc. I am using Jetbrains Rider and when selecting target framework I don't get the option to pick 7.0.3, only 7.0 and lower X.0, but guessing this includes 7.0.3? |
This issue is for a: (mark with an
x
)The issue was found for the following scenario:
Please add an 'x' for the scenario(s) where you found an issue
Repro-ing the issue
Repro steps
Using 2-1-Call-MSGraph as is with replacing my Azure App Service & Azure AD details into the appsettings.json file
Expected behavior
When the Access token expires, I expect that CAE should kick in and and refresh the access token
Actual behavior
Error is thrown invalidAuthenticationToken Message: Access token has expired or is not yet valid.
Possible Solution
Additional context/ Error codes / Screenshots
Any log messages given by the failure
Add any other context about the problem here, such as logs.
OS and Version?
Versions
Attempting to troubleshooting yourself:
Originally, there was not Refresh Token being issued and had to go into into Resources.azure.com to set the offline access.
Th research I did seems to indicate this doesn't work with a free Azure Account, but not sure if that's correct. I coudln't see any option to turn on CAE in the oducmentation I followed
Mention any other details that might be useful
This is my first forray into Azure App Service.
The text was updated successfully, but these errors were encountered: