AnsweredAssumed Answered

Under API Management, how to expose my REST API with OAuth 2.0?

Question asked by asanivarapu892446 on Sep 18, 2017

I created an API and want to add OAuth 2.0 on top of it. So that only requests  with valid ClientID and Secret can access my API.

Under Authentication tab I added External Identity Provider( Twitter). 

When I invoke the token url with POST method that I get from "APIs--> MyAPI-->Manage-->Configure an Authentication Source", I am getting below error. Please help in setting up any external Identity provider.( facebook, twitter, box...)

 

{"error":"unauthorized_client","error_description":"UNKNOWN_CLIENT: Client was not identified by any client authenticator"}

 

Configure external identity provider:

Configure external identity provider

Configure auth source and get token url.

Configure auth source and get token url.

Outcomes