Skip to content

/token

Request

Use this operation to request the permitted communication options for the /token endpoint.

Note: CORS is enforced on a per-client basis. This endpoint always returns CORS headers with the current origin.

Path
authorizationServerIdstringrequired

id of the authorization server

Headers
Originstring

Indicates the origin of the client that's initiating the request

Example:okta-example.pixtulate.com
OPTIONS
/oauth2/{authorizationServerId}/v1/token
curl -i -X OPTIONS \
  'https://okta-subdomain.pixtulate.com/oauth2/{authorizationServerId}/v1/token' \
  -H 'Origin: okta-example.pixtulate.com'

Responses

Success

Headers
Access-Control-Allow-Originstring
Example:"okta-example.pixtulate.com"
Access-Control-Allow-Methodsstring
Example:"POST"
Access-Control-Max-Agestring
Example:3600
Varystring
Example:"Origin"
Response
No content