restish icon indicating copy to clipboard operation
restish copied to clipboard

How to create profile without API authentication

Open ilveroluca opened this issue 3 years ago • 0 comments

Hi,

I'm using restish to interact with an API that supports authenticating via API keys. I have configured a profile that sets the appropriate header, but restish insists on inserting an "empty" "auth" section in the profile configuration:

        "auth": { 
          "name": "oauth-authorization-code", 
          "params": { 
            "authorize_url": "oauth2/authorize", 
            "client_id": "", 
            "token_url": "oauth2/token" 
          }

If I remove this from the configuration everything works. Is there a way to create a profile without configuring authentication information?

ilveroluca avatar May 03 '21 16:05 ilveroluca