x

Redirect URI not recognize

Hi,

 

Hope you guys are doing well.

 

I'm trying to create an app with squareup that will communicate with the site I'm working on. The first thing I'm trying to do is to authorize the app but I seem to be stuck up on the error message below.

 

 

An error occurred
Invalid value for parameter `redirect_uri`

 

It's still in development so the 'Redirect URL' I set in the app dashboard is a local config virtual host. I also tried the localhost/callback but got the same error.

 

Below is the format I'm using to authorize the app, not sure what seems to be the issue. Hoping you could help me out.

 

https://connect.squareup.com/oauth2/authorize?response_type=code&client_id={RANDOM_STRING}&scope=MERCHANT_PROFILE_READ%20ITEMS_READ%20ITEMS_WRITE&redirect_uri=https://{DOMAIN}/oauth/square/callback&state={RANDOM_STRING}

Let me know if you need further info. Thanks in advance.

 

Tags (1)
3,071 Views
Message 1 of 2
Report
1 REPLY 1
Alumni

Have you tried using your personal access token? That is much easier than implementing OAuth for just one account. 

3,061 Views
Message 2 of 2
Report