In the past we never had any issues with this. All our customers where able to use this out of the box.
Today I had our first customer who is experiencing problems with it. After he logged in and clicked on “Allow” he is straight redirected back to my authorization site. The log of the NodeJS Server is empty and so is the browser console log… I don’t know if its because of any company setting about third party trello rest api applications or something I can change.
I would appreciate any help, as this is a paying customer of us
As I tried to fix this for last few hours, I wanted to give a quick update on this…
It is still not working. I’ve created a completly new Trello account and with that user I can reproduce the error. So it seems like it affects more than only one user. The first customer who reported this, has no restrictions in his Trello environment.
I’ve also tried it without it, but I am using the Trello ClientJS as stated in Getting Started with client.js to get the authorization done and access the token from localStorage.
Neither success or error function is called after successfull login and apply… I am using the authorize method with type redirect.
I really don’t know where to go from this now, has anyone experienced anything like this?
okay, so, i’ve tried taking a look at this. i’m only able to reproduce the error if not calling the authorize function on page load with ‘interactive: false’. worth noting that you only need to do this when using ‘type: redirect’ instead of ‘popup’ (as indicated by this little note in the client.js reference, under ‘error’). did you recently try changing from ‘redirect’ to ‘popup’?
i found this stackoverflow post that has authorization working in a jsfiddle, if that’s more helpful.
otherwise, can you provide me an example return url for your code? i think i have an idea of what could cause this bug but am having difficulty verifying it locally.
We have now switched to oauth1 so I can no longer provide a live example for you right now. Does this already help you to reproduce? Otherwise we could try to go back and spin up a little dev version for you.
sorry for the late answer. I’ve spun up a dev version for you under Axontic Mailissa and realized that it is working again. Don’t know what changed but I think you will be happy to hear that. I guess I will still stay with oauth1 now, as this has been working without any interruption for me.