---
schema_version: "1"
id: c7d6921cd9533c241a6cae842e4ee491688c2b3e6a8690181191ac1f4e10ae5e
title: Authorization
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/graphql-api/graphql/guides/authorization.md
canonical_url: https://developer.salesforce.com/docs/platform/graphql/guide/authorization.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 714bbdfa53ce5ad2c0c52b5ffa98737ed9cd7c79a79adb007d32f8aa6a2c964e
products:
  - GraphQL API
---
# Authorization

GraphQL API auth is the same as other Salesforce REST APIs. For more information, see [OAuth and Connect REST API](https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/intro_using_oauth.htm) in _Connect REST API Developer Guide_.

To learn how to set up authorization for GraphQL, use a [Quick Start](https://developer.salesforce.com/docs/platform/graphql/guide/get-started.md).

**note:** To successfully send requests, GraphQL API requires an access token obtained by authentication. The Quick Starts authenticate via Salesforce CLI. For production apps, we recommend that you use your own [external client app](https://help.salesforce.com/s/articleView?id=xcloud.external_client_apps.htm) and an OAuth authorization flow that fits your specific use case.
