The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Callback url fails to provide token

tmoreira2020
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 15, 2021

Hi there, 

 

I'm receiving the following callback url when authorizing a user in a Java app.

http://www.mydomain.com/trellooauth2callback?#token=tokenprovidedbytrello

The thing is when the browser send this url to the server it omits the #token. The # symbol is used to anchor links in the page and it isn't required to be sent to the server side. Or am I missing something?

I have tested several different configuration without success. The documentation  doesn't help too much on this matter.

Can someone shed some light here?

 

Thanks

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Cody
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 24, 2021

I'm not quite savvy enough to know precisely why that isn't working, but I might suggest posting this in the dev community. We have a number of Trello Engineers that are active there, and they'd be happy to give some guidance for more advanced topics like these.

This also may be worth posting over on stackexchange if you haven't already. I found a post there that may be helpful for you: https://stackoverflow.com/questions/33898664/using-the-authorise-route-for-trello-oauth-then-get-token-after-hash-tag
Which links here, check out the last explanation by Takahiko: https://stackoverflow.com/questions/33667003/parse-url-hash-fragment-in-express-application
TAGS
AUG Leaders

Atlassian Community Events