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
The new templates includes IdentityServer in the pipeline and it is not always trivial to understand the reasons for a 401.
I tried the new .NET 5 react template and, even without modifying the default code, after 24 hours the WeatherForecastController cannot be accessed anymore.
In the browser I can see the code retrieving a valid bearer token, but the following GET for the weather data fails as "invalid json" and HTTP 401.
Changing the logging level to "Trace" did not help either.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
The new templates includes IdentityServer in the pipeline and it is not always trivial to understand the reasons for a 401.
I tried the new .NET 5 react template and, even without modifying the default code, after 24 hours the WeatherForecastController cannot be accessed anymore.
In the browser I can see the code retrieving a valid bearer token, but the following GET for the weather data fails as "invalid json" and HTTP 401.
Changing the logging level to "Trace" did not help either.
Beta Was this translation helpful? Give feedback.
All reactions