It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

What is a valid return_url when using client.js for authentication?

When i do Trello.authorize(opts), Am always receiving invalid return_url as the response irrespective of the value that i pass.

What is a  proper return_url?

1 answer

0 votes
David Bernal Atlassian Team Oct 04, 2019

The URL may not use the data or javascript protocols, but any other should be fine. The exception would be if you have set "Allowed Origins" on https://trello.com/app-key. In that case, the return_url must also match your Allowed Origins. When using client.js, the `return_url` is based on the page you are currently on, so if the page you're on doesn't match your Allowed Origins, or uses one of those protocols, you might receive this error.

 

Does this help?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Trello

Develop a new Habit during Lockdown

If you had to thrive a new habit during a lockdown, what would it be? Trello

1,620 views 15 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you