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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.