Skip to content

OAuth providers

Square

Set up Square OAuth for payment processing and commerce management

Connect your users to Square for payment processing, inventory management, order tracking, and customer data.

PropertyValue
Provider IDsquare
CategoryPayments
PKCESupported
Token refreshAutomatic
Redirect URIShown in Developer Portal

Go to the Square Developer Portal

Navigate to developer.squareup.com/apps and sign in.

Create a new application

Click Create your first application (or + to add another), enter the app name, and click Save.

Configure the redirect URI

Under OAuth, add the Alter callback URL from the Developer Portal to the Redirect URL field.

Get credentials

Copy the Application ID (Client ID) and Application Secret (Client Secret) from the Credentials tab.

Open the Developer Portal

Go to portal.alterauth.com and navigate to the application.

Add Square provider

Go to OAuth Providers > Add Provider > Square.

Enter credentials

  • Client ID: Paste your Square Application ID
  • Client Secret: Paste your Square Application Secret

Select scopes

Choose the scopes the application needs.

Save

Click Save. The provider is now active.

ScopeDescription
MERCHANT_PROFILE_READRead merchant profile and business info
PAYMENTS_READRead payment records
PAYMENTS_WRITECreate and process payments
ORDERS_READRead order data
ORDERS_WRITECreate and manage orders
ITEMS_READRead catalog items and inventory
ITEMS_WRITECreate and manage catalog items
CUSTOMERS_READRead customer profiles
CUSTOMERS_WRITECreate and manage customers
  • Square has separate sandbox and production environments. Use sandbox credentials during development.
  • See the Square OAuth API documentation for more details.