OAuth URL changed or I'm always using the wrong URL?

Just out of curiosity about the OAuth URL. It seems we were always using the very old URL

This is our previous URL (now it doesn’t work anymore because it keeps complaining about missing client_id)
https://www.squareup.com/oauth2/authorize?client_id=sq0idp-wOBdtGv0qrukFmXeCZtjhA&scope=MERCHANT_PROFILE_READ%20PAYMENTS_READ%20PAYMENTS_WRITE%20CUSTOMERS_READ%20CUSTOMERS_WRITE%20ITEMS_READ%20ITEMS_WRITE%20ORDERS_READ%20ORDERS_WRITE%20EMPLOYEES_READ%20INVENTORY_READ&session=false&state=6a67394fd4f32c3d6395ccb202b05f81a122a72d1a2f4a359cc51ac067b2534600efd2033ec507fe68ead3fadca11cb50181d70d5ca5a1b4b3a4670d26ec0722

Today we noticed that the correct URL should be
https://connect.squareup.com/oauth2/authorize?client_id=sq0idp-wOBdtGv0qrukFmXeCZtjhA&scope=MERCHANT_PROFILE_READ%20PAYMENTS_READ%20PAYMENTS_WRITE%20CUSTOMERS_READ%20CUSTOMERS_WRITE%20ITEMS_READ%20ITEMS_WRITE%20ORDERS_READ%20ORDERS_WRITE%20EMPLOYEES_READ%20INVENTORY_READ&session=false&state=6a67394fd4f32c3d6395ccb202b05f81a122a72d1a2f4a359cc51ac067b2534600efd2033ec507fe68ead3fadca11cb50181d70d5ca5a1b4b3a4670d26ec0722

The only difference is the domain “www.squareup.com” vs “connect.squareup.com
So, our first URL has been working for quite long and suddenly it didn’t work and we found we use a wrong URL!
I’m just curious if the “www.squareup.com” was never used for OAuth process?

You may have been given a different link cause you’re a partner application and it was for some form of tracking. I’d recommend reaching out to you’re partner contact at Square to see which one you need to be using. :slightly_smiling_face:

1 Like

I see! Thank you for the explanation Bryan!