Palo Alto Networks Auth Service API

The Auth Service API from Palo Alto Networks — 2 operation(s) for auth service.

Operations 3

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /auth/v1/oauth2/access_token Get a SASE access token · Create an access token #
Ask an LLM
“How do I get an access token for the SASE APIs with my client ID and secret?”
“Which tenant service group should my token be scoped to?”
Tell an agent
Create an access token scoped to {scope}.
Request a client credentials token with grant type {grant_type} for TSG scope {scope}.
POST /auth/v1/oauth2/userinfo Get claims for a supplied access token · Retrieve oAuth oAuth 2.0 claims #
Ask an LLM
“Can I inspect the claims of a token other than the one I'm calling with?”
“How do I find out who a given access token was issued to?”
Tell an agent
Get the OAuth claims for access token {access_token}.
Look up which user token {access_token} belongs to.
GET /auth/v1/oauth2/userinfo Get claims for my current token · Retrieve oAuth 2.0 claims #
Ask an LLM
“Who does the token I'm calling with belong to?”
“What OAuth 2.0 claims come with my current bearer token?”
Tell an agent
Show the OAuth claims for the token I'm authenticated with.
Tell me which user my current access token was issued to.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/palo-alto-networks:palo-alto-networks-auth-service-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

palo-alto-networks-auth-service-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Authentication Service Auth Service API
  version: '1.0'
  description: 'This service is used to obtain access tokens, and inspect user information

    found on the access token.'
  contact: {}
servers:
- url: https://auth.apps.paloaltonetworks.com
tags:
- name: Auth Service
paths:
  /auth/v1/oauth2/access_token:
    post:
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              required:
              - grant_type
              properties:
                grant_type:
                  description: 'Access token grant type. This must always be `client_credentials`.

                    '
                  enum:
                  - client_credentials
                  type: string
                scope:
                  description: "The scope of the access request. This must be the \n[TSG ID](/sase/docs/tenant-service-groups) \nfor which you want to perform API access, and it\nmust be formatted in the following way: \n\n  `\"scope\": \"tsg_id:<TSG_ID>\"`\n\nIf the service account that you use to authenticate this\nrequest does not have [role access](/sase/docs/roles) to\nthe TSG specified in this scope, this API call will\nfail.\n"
                  type: string
        required: true
      tags:
      - Auth Service
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessToken'
          description: Returns an access token and access token metadata.
        '400':
          description: Invalid Request
        '401':
          description: Invalid Client
      security:
      - Basic: []
      summary: Create an access token
      description: 'Create an access token using a Client ID and Client Secret.


        Your Client ID is your HTTP basic authentication username, your

        Client Secret is your HTTP basic authentication password.


        Your Client ID and Client Secrets are created by the SASE Service when you

        create a service account

        or

        reset your service account.


        All access tokens created using this API have a lifetime of 15 minutes.'
      operationId: post-auth-v1-oauth2-access_token
  /auth/v1/oauth2/userinfo:
    post:
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              required:
              - access_token
              properties:
                access_token:
                  description: 'Access token for which you want to retrieve claims about the end-user.

                    '
                  type: string
        required: true
      tags:
      - Auth Service
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserInfoResponse'
          description: Returns oAuth 2.0 claims about the authenticated end-user.
        '400':
          description: Invalid Request
        '401':
          description: Invalid Token
      summary: Retrieve oAuth oAuth 2.0 claims
      description: 'Retrieve the oAuth 2.0 claims for the user who was issued

        the access token that is presented in this request body.'
      operationId: post-auth-v1-oauth2-userinfo
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserInfoResponse'
          description: Returns claims about the authenticated end-user.
        '400':
          description: Invalid Request
        '401':
          description: Invalid Token
      security:
      - Bearer: []
      summary: Retrieve oAuth 2.0 claims
      description: 'Retrieve the oAuth 2.0 claims for the user who was issued

        the access token that is used to authenticate this request.'
      tags:
      - Auth Service
      operationId: get-auth-v1-oauth2-userinfo
components:
  schemas:
    AccessToken:
      type: object
      properties:
        access_token:
          description: The access token issued by the authorization server
          type: string
        token_type:
          description: The type of the token issued (default bearer)
          type: string
        expires_in:
          description: The lifetime in seconds of the access token.
          type: integer
        scope:
          description: The scopes contained in the access token.
          type: string
    UserInfoResponse:
      type: object
      properties:
        sub:
          description: Subject - Identifier for the user at the Issuer
          type: string
        name:
          description: Full name in displayable form including all name parts, possibly including titles and suffixes
          type: string
        given_name:
          description: Given name(s) or first name(s)
          type: string
        family_name:
          description: Surname(s) or last name(s)
          type: string
        email:
          description: e-mail address
          type: string
  securitySchemes:
    Basic:
      type: http
      scheme: basic
    Bearer:
      type: http
      scheme: bearer