Hi,
I'm trying to create an internal app to automate Trello and can get a token using the API key if I manually copy and paste from the Trello response.
I wish to automate this using a temporary Flask server. The issue I'm having is that after the authorization callback fires the token is embedded in the redirected URL and I can't seem to find a way to extract it. Any help would be appreciated.
Note the url in the browser after the callback is in the format:
http://127.0.0.1:5000/callback#token=<MY TOKEN with 76 characters>
I can't find any way to save/store the token using code and I can't seem to find a way to programmatically access the url in the browser to extract the token characters.
Below is my code. Note that I'm not that familiar with OAuth
``` python
Hi Dara,
This would be a really great question to share with our developer community. We have a number of Trello Engineers who are active there, and they'd be happy to give some guidance for more advanced topics like these.
Would you please report your question here: https://community.developer.atlassian.com/c/trello?
Alina | The Trello Team
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.