I have an ASPNET Core API handling Identity Framework, but I also have another web application using ASPNET MVC and I wish to handle sessions / identity using the same API I already have managing Identities.
How do I manage JWT in my Controllers that I want to markup with [Authorize] or that require a Role that may be retreived using Claims?
I've tried to find examples related to this but I only get content about the API using a mixup of MVC Core on the same API using Views.
I would like to give my users the refresh token button(handled perhaps an AJAX?) and the span-length of X minutes for example before they require to refresh to get a new token


services.AddAuthentication(...).AddJwtBearer(...)....