Skip to content

Issue/Help with "Create an access token" #1258

Description

@prebhakta

Documentation link

https://pan.dev/scm/api/auth/post-auth-v-1-oauth-2-access-token/

Describe the problem

Customers in general do not like Basic Auth and are starting to block it by stripping out the header "Authorization: Basic" from proxies.

Suggested fix

We should change the documentation to put the client id and client secret in the body. Yes, this works already.

curl -s -X POST https://auth.apps.paloaltonetworks.com/oauth2/access_token
-H "Content-Type: application/x-www-form-urlencoded"
-d "grant_type=client_credentials&scope=tsg_id:<tsg_id>&client_id=<client_id>&client_secret=<client_secret>"

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions