Hi....
1. I have defined a native OAuth provider in API Connect which invokes an external metadata URL to populate token metadata and return to the API consumer
2. In normal scenarios, this works fine and I could see that the OAuth access token is embeded with the metadata as expected
3. In cases when the external metadata URL is down or not accessible, I could still see that OAuth access token is getting generated and returned to API consumer without metadata.
4. I want this to be customized such that, if external metadata URL is down, the OAuth provider should return a custom error to the API consumer. Please let me know how this can be achieved.
------------------------------
Ashok Beshra
------------------------------