What is the OAuth2 Authorize URL?

I’ve looked at the Build With OAuth page https://developer.squareup.com/docs/oauth-api/build-with-oauth and I see the variables with the url data


But I don’t see documented any where what the actual values are. How do I create the link for a user to grant my application authorization to do payment transactions on their behalf?

I’m using .Net, is the url info in the SDK, if so where would I find it?


Hi @RussPete, in Step 2.1 it references a PHP template file which has these values.

To reference here:
_SQ_SANDBOX_DOMAIN = “connect.squareupsandbox.com
_SQ_DOMAIN = “connect.squareup.com
_SQ_AUTHZ_URL = “/oauth2/authorize”