Closed maxisam closed 6 years ago
Because i'm using two different auth types, we need to configure them separately. If you just call AddIdentity you're getting cookie by default, but I need cookie and JWT.
Well, how about call addIdentity and AddJwtBearer? I tried it and it seems like it works too.
in the document here https://docs.microsoft.com/en-us/aspnet/core/migration/1x-to-2x/identity-2x#cookie-based-authentication
When using cookie with .net core identity
But the way you do is different.
Could you explain the difference? Thx