Since there is no way to really test with the sandbox I am trying to use expose.dev in order to test and finish building my app locally. I can click the link to login to square for the auth process and allow access from my account to my app it shows up in the dashboard as being connected then It is failing on the redirect back to my site. The expose url is working I can visit the site via that url. it is https and all of the urls are the same. Is there a square reason that this domain would not work?
I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:
If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.
I actually sorted it out like 10 minutes ago. You have it right I had the redirect url in the original call. But I didn’t have it in the obtainToken call. I guess you don’t need that in the sandbox but you do in the production. Was just coming back to leave this here in case someone else has the same issue.