Client credentials grant - Dev platform

I have access to the new dev platform and I’m trying to do the client credentials grant but whenever I make a request from my app or an API client I get an HTML response (see below) instead of what’s in the documentation.

I hid the hrefs because of the sensitive data.

<html>
  <body>
    <noscript>
      <a href="...">Continue</a>
    </noscript>

    <script type="text/javascript" defer>
      window.location = "...";
    </script>
  </body>
</html>

When I go to the URL it has it shows the Partners login page.
Anyone else run into this issue? I assume it’s not intended.

Nevermind, it works as expected but the docs show 2 different API routes:

  • /admin/oauth/access_token
  • /admin/oauth/authorize

Running the one from the example is good.

Glad you figured this out @Evonux and thanks for posting up the solution. Great to see the new dev platform is helpful for you :slight_smile:

Sorry for this inconsistency/inaccuracy. We’ve fixed the documentation on this page.

1 Like