question

leemorgan avatar image
leemorgan asked leemorgan answered

Clover OAuth redirecting to home page (path: "/") rather than the redirect_uri specified

I am working in the sandbox right now. On my computer, the OAuth process goes perfectly fine while using my localhost:8080. However, when I push it to my website, it isn't working.


After "the client" logs into their account and then chooses a merchant, it simply redirects back to the home page with no data from Subline about the OAuth process. I have no idea what is going on here. I have confirmed that both the code on the site and on my local machine are identical. Everything that is different is in an environment variable, and I have double/triple checked them.


Any help is greatly appreciated.

OAuth
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

leemorgan avatar image
leemorgan answered

As sometimes happens, it seems to have magically fixed itself. I don't know if something was wrong on Clover's end for a while, or if I fixed something without realizing it, but it is working now. Thanks for your quick response.


For reference, yes that is exactly what I was doing. When I went to test on my machine or on the website, I would just change the address of the sandbox app. Pretty much exactly like what you wrote.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community