Explore samples for OAuth, Square SDK, GraphQL, and mobile.
These sample applications demonstrate a bare-bones implementation of the OAuth flow for Square APIs. Each language-specific application serves a link that directs merchants to the OAuth Permissions form and handles the result of the authorization, which is sent to your application's Redirect URL. For more information and a detailed walkthrough, see OAuth Walkthrough.