Error invalid_client when generating tokens at /oauth/token in 3scale

Solution Verified - Updated -

Issue

  • User receives a 401 Unauthorized error with message {"error":"invalid_client"} while trying to generate an OAuth access token by calling /oauth/token endpoint exposed on the gateway, while the credentials are correct

Environment

  • Red Hat 3scale API Management Platform
    • SaaS
  • OAuth implementation on the gateway uses the templates from nginx-oauth-templates repository
  • A metric with previous traffic on it, was disabled in the application plan associated to the application credentials

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content