Skip to content

How to create profile without API authentication #44

Open
@ilveroluca

Description

@ilveroluca

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions