How to use JWT Bearer as authentication for Apis and Identity to authenticate MVC pages in the same project

Asked

Viewed 24 times

2

Is it possible in the same project to have an API with JWT Bearer-protected endpoints and Identity-protected MVC web pages? I already have MVC working perfectly with Identity, but when I enable JWT authentication, it stops working. I saw some documentation from microsoft, but without success in the implementation.

Thank you very much for your attention.

  • Remembering that I am using Asp.net core 2.2

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.