So I have written an interface from a system that I wrote a while ago, into FreeAgent. This app works perfectly with the sandbox, but as soon as I switch to the live URI, and try to send a new authentication request, it allows me to log into my live account and then errors saying the return URI is invalid. Switch back to the sandbox and it goes straight in to my sandbox account for approval.
Do I need to get a different client_id? does it need to match my ‘live’ account details? As I say, I have one variable that I change between the live and the sandbox so I really don’t understand except maybe I am missing something somewhere