Hey guys,
How are you? I need your help. I don't have a lot of experience architecturing projects but at the moment I'm trying to do it. And I would you to give me some feedback. My big question is the Authentication. I'm gonna to explain what I want to Develop. So, the architecture I want basically is one .NET Core API Project protected with JWT token. This project will be responsible for the authentication and to make available all the services I need for my app. And then I have a .NET Core MVC project (client). This client will have a login/register page and all the front-end of my WebApp. My big question is, as i'm generating the token in my API, what's the best way to manage client-side authentication and authorization? Should I create CustomAttributes? What is the best practice for this? Thank you very much.
Hugo Sousa