Auth0 Home Blog Docs

Change response type of Auth0 authentication

auth0
api
login

#1

Hi all,

I’m using Google Cloud Endpoint with OpenApi and Auth0 to apply authentication for my Endpoints based on instruction

After setup everything is work fine but, I just have one problem is:
If I use CURL command to test api without Bearer authorization -> I will get error code 401 and Json in body response.
But when I use Postman or another tool access my api without Bear authorization -> I get a response with HTML with error code 400 (bad request) miss Missing required parameter: response_type.

I don’t know how to fix that. I just want if I access my api which any tool I will get the same response code 401.

Can any body help.
Thanks