Forum Stats

  • 3,768,656 Users
  • 2,252,827 Discussions
  • 7,874,672 Comments

Discussions

OAuth token - 401 Unauthorized

partlycloudy
partlycloudy Member Posts: 8,073 Silver Trophy

I followed the instructions here and here to secure the service here and used this Firefox add-on to send a request to the /oauth/token endpoint with Basic authentication provided the client_id and client_secret from the user_ords_clients view and POST body grant_type=client_credentials but I get a 401/Unauthorized

This support note talks about a WebLogic setting enforce-valid-basic-auth-credentials=false to disable Basic authentication but I am not sure whether apex.oracle.com uses WLS or Tomcat. Besides, on our own environment, we use Tomcat and we see the same error. Is there a equivalent setting for Tomcat? Or is there something else going on here?

Any ideas?

Thanks

«134

Answers