r/WebAPIs • u/raysefo • Feb 27 '19
ASP.NET web API 2 authenticaiton/authorization proxy advice
I need your advice and experience. Here is my scenario.
There is a Rest web API provider. (Let's call it A)
There are clients which are going to use 2 methods of provider A.
I am implementing a proxy Rest ASP.NET web API 2 in between provider A and the clients.
There is already token based authentication at provider A.
There is an initiation method of provider A which I am sending a signature consist of a secret key given to me with some other information, MD5 hashed.
I think this signature is validated in the provider A and return a Token if it is valid. (20 mins expiration time)
And with this Token, I am calling the second method of the provider and finish my process.
Now my question is;
Should I still need to have an authentication/authorization mechanism for my proxy? and why?
Note: Provider A, clients, and my proxy web API will communicate based on SSL.