WebApi - ApiKey plus JWT

Maryan 26 Reputation points
2022-04-24T23:18:04.233+00:00

I completed a couple of projects that are implemented in C# .Net 6.0 MVC, and now I'm trying to do my first web API project. This WebApi is implemented in .Net 6.0, with JWT authorization.
Everything is working smoothly so far, the token is generated then I can use the endpoints. However, I want to create separate another MVC application that will have an admin dashboard to control the data. My question is: if I implement ApiKey authorization in the web API, wouldn't be a problem or have a conflict with the JWT authorization?

I have only one year of experience with C# .Net, please try to understand that my knowledge is limited.
Thank you for your help!

Developer technologies | ASP.NET Core | Other
Developer technologies | ASP.NET Core | ASP.NET API
0 comments No comments

1 answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.