How to make ASP.NET Core JWT Bearer Authentication check the Authorization header first before checking the Cookies?
To give you some context:
How to use AddIdentityApiEndpoints inside a class library?
I have separated my identity code into a dedicated class library. I have an IServiceCollection
extension method for adding everything I need except this one line: