Forum Discussion

Anush's avatar
Anush
Occasional Visitor
4 years ago

How to pass SSL Certificate with Swagger UI from Angular 4 when invoking a REST API

Hello,

I have a query. How to pass SSL Certificate with Swagger UI from Angular 4 to invoke a REST API , which is enabled with Mutual Authentication via certificate?

Do we have any provision to intercept the request in Swagger UI before invoking a particular API request.

 

My Application Ex:
My application(A) is getting the Swagger JSON from the bitbucket of another target application(B) and rendering it in my application(A) with Swagger UI. Now the target application(B), has enabled Mutual Auth. Now when the API of application(B) is invoked from the Swagger UI of my application(A), how can we pass the SSL Certificate along with this API call?


I would also like to know what other approach(es) can be used to pass Authentication when trying out any API?

No RepliesBe the first to reply