Information in the JwtBearer comments is not up-to-date
See original GitHub issueIs there an existing issue for this?
- I have searched the existing issues
Describe the bug
In this class:
The default values that the comments refer to has changed to 12 hours and 5 minutes respectively.
/// <summary>
/// 1 day is the default time interval that afterwards, <see cref="ConfigurationManager" /> will obtain new configuration.
/// </summary>
public TimeSpan AutomaticRefreshInterval { get; set; } = ConfigurationManager<OpenIdConnectConfiguration>.DefaultAutomaticRefreshInterval;
/// <summary>
/// The minimum time between <see cref="ConfigurationManager" /> retrievals, in the event that a retrieval failed, or that a refresh was explicitly requested. 30 seconds is the default.
/// </summary>
public TimeSpan RefreshInterval { get; set; } = ConfigurationManager<OpenIdConnectConfiguration>.DefaultRefreshInterval;
Perhaps worth updating?
Expected Behavior
No response
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
Latest (6.0.1)
Anything else?
nope
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Why is JWTBearer in .net 6 not working? It keeps coming ...
First you always have to authentication to know who the user is. After that you do authorization to figure out if the user...
Read more >JWT Bearer Authentication Breaks after .NET 6 Upgrade
NET 5 to .NET 6 found here, my .NET 6 web app refuses to authenticate requests using JWT bearer tokens. I had no...
Read more >The auth is not working in .net core web api?
Make sure that the settings are correct and up-to-date. Ensure that the user's identity is being set correctly by checking the HttpContext.User.
Read more >JWT Validation and Authorization in ASP.NET Core
NET Core – how to validate JWT tokens and use them to authenticate users ... No identity or user information is managed by...
Read more >JWT Bearer Authentication and Authorization for ASP.NET ...
An introduction on how to configure JWT Bearer authentication and authorization (based on scopes) for your ASP.NET Core 5 APIs.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@rbipin yes, please.
hello, can I give this a try? this is my first-time contribution. I felt like this is the least risky one.