You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Error occurred in the mediation of the class mediator" when Oauth 2.0 protected backend token endpoint returns scope as null value.
Steps to Reproduce
Start the API Manager and go to the publisher portal.
Create an API by specifying the backend protected endpoint then navigate to the Endpoint Security Configuration using Oauth 2.0 and select the grant type as Client Credentials or Resource Owner Password with specifying the Token URL, Client ID and Client Secret.
Save and deploy the API.
If the specified backend token url return the scope as null as below:
Description
"Error occurred in the mediation of the class mediator" when Oauth 2.0 protected backend token endpoint returns scope as null value.
Steps to Reproduce
Start the API Manager and go to the publisher portal.
Create an API by specifying the backend protected endpoint then navigate to the Endpoint Security Configuration using Oauth 2.0 and select the grant type as Client Credentials or Resource Owner Password with specifying the Token URL, Client ID and Client Secret.
Save and deploy the API.
If the specified backend token url return the scope as null as below:
{
"access_token": "xxxxxxxxx",
"refresh_token": "xxxxxxxxx",
"token_type": "xxxxxx",
"scope": null,
"expires_in": xxxxx
}
Then the below exception will get triggered -
Error occurred in the mediation of the class mediator.
Affected Component
APIM
Version
4.2.0
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response
The text was updated successfully, but these errors were encountered: