raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.05k stars 2.78k forks source link

[Trello] ... #8981

Closed davewehr closed 4 days ago

davewehr commented 8 months ago

Extension

https://www.raycast.com/ChrisChinchilla/trello

Description

I am trying to use the Trello RayCast plugin and am having trouble authenticating.

I entered into the settings my Trello username (email address) I generated an "person access token" from my Atlassian account settings. The field for API token was already filled out when I installed the extension.

Every time I try to use the plugin, it says it cannot authenticate.

Please advise.

Steps To Reproduce

I entered into the settings my Trello username (email address) I generated an "person access token" from my Atlassian account settings. The field for API token was already filled out when I installed the extension.

Current Behaviour

No response

Expected Behaviour

No response

raycastbot commented 8 months ago

Thank you for opening this issue!

šŸ”” @ChrisChinchilla @Jimmy-b36 @ChrisChinchilla @ajaypremshankar you might want to have a look.

šŸ’” Author and Contributors commands The author and contributors of `ChrisChinchilla/trello` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopen the issue.
ChrisChinchilla commented 8 months ago

Hmm @davewehr The only think I can think of is that your email address isn't actually your user name? Check what value people "@" you, that might be the user name instead?

davewehr commented 8 months ago

Good Afternoon,

Thanks for your response. I did go and see that my username is actually ā€˜davewehr3ā€™ but when I try that it still doesnā€™t workā€¦

Can you confirm that the API token that was pre-populated when I installed the add-on, should in fact be pre-populated?

What else can I try?

On Nov 12, 2023, at 7:29ā€ÆAM, Chris Chinchilla @.***> wrote:

Hmm @davewehr https://github.com/davewehr The only think I can think of is that your email address isn't actually your user name? Check what value people "@" you, that might be the user name instead?

ā€” Reply to this email directly, view it on GitHub https://github.com/raycast/extensions/issues/8981#issuecomment-1807112705, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO5VAKVEX4D7TVARDLJF6HLYEC6KVAVCNFSM6AAAAAA6RSSZNWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBXGEYTENZQGU. You are receiving this because you were mentioned.

ChrisChinchilla commented 8 months ago

@davewehr yes, thatā€™s my token, which is needed to work with the Trello API that the extension calls, and as far as I know, it works for everyone else. Hmm, Iā€™ll try and dig further with a fresh account p.

davewehr commented 8 months ago

Thanks, I appreciate your time troubleshooting this issue.

On Nov 14, 2023, at 5:58ā€ÆAM, Chris Chinchilla @.***> wrote:

@davewehr https://github.com/davewehr yes, thatā€™s my token, which is needed to work with the Trello API that the extension calls, and as far as I know, it works for everyone else. Hmm, Iā€™ll try and dig further with a fresh account p.

ā€” Reply to this email directly, view it on GitHub https://github.com/raycast/extensions/issues/8981#issuecomment-1809986535, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO5VAKWHBMKTZIC27UET3STYENFGNAVCNFSM6AAAAAA6RSSZNWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBZHE4DMNJTGU. You are receiving this because you were mentioned.

ChrisChinchilla commented 7 months ago

@davewehr Sorry for the delay, but I am stuck on this, however, I have received a few others reporting it, but never created on GitHub unfortunately, but a small minority of users.

Did you change the API key at all?

You can also try visiting the following URl yourself (ideally with curl if you know how, but a browser is also fine)

https://api.trello.com/1/members/me/boards?key=${apitoken}&token=${token}

Replace apitoken with the default token and token with yours. Let me know if you get any ore detailed errorsā€¦

raycastbot commented 5 months ago

This issue has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 10 days to keep our backlog clean šŸ˜Š

davewehr commented 5 months ago

Good Afternoon,

Sorry I let this die on the vine, it was a low priority for me.

I just uninstalled and reinstalled the extension, so I am 100% sure the default token has not changed. I also revoked my Trello API token and created a new one, and used that to configure the plugin. For my username, it shows in Trello as @davewehr3 so I tried that, as well as davewehr3.

I attempted to follow the troubleshooting steps provided, using the URL provided and replacing the default token as well as my own token, but I am getting a 404 error, saying ā€œinvalid keyā€.

I wasnā€™t sure if I was supposed to remove the {} or input the tokens within, so I tried both but the result was the same both times.

One thing of note, I that I am also using the Confluence and Jira extensions, which work as expected.

Please advise, and thank you in advance. Have a great day!

On Dec 9, 2023, at 1:41ā€ÆAM, Chris Chinchilla @.***> wrote:

https://api.trello.com/1/members/me/boards?key=${apitoken}&token=${token} https://api.trello.com/1/members/me/boards?key=$%7Bapitoken%7D&token=$%7Btoken%7D

ChrisChinchilla commented 5 months ago

@davewehr Clutching at straws here, but did you follow the setup steps? Specifically following this URL and giving access to the appropriate boards etc?

https://trello.com/1/authorize?expiration=never&name=RayCastTrelloExtension&scope=read&response_type=token&key=13f8c59607ba6d82531d3db5f46999c1

davewehr commented 5 months ago

Chris,

Thanks for getting back to me. Iā€™m not sure how I missed that, I thought I looked at all the instructions but never saw the page you sent. I tried it, was able to log in, and get a token from the link after I logged in and granted access to the boards.

Iā€™m assuming the code I got from that process is what goes into the ā€˜Personal Access Tokenā€™ field, so I dumped it into there. VOILA, it worked!!!

Thank you!

BTW: Where did that link come from? I just went through the motions of installing the Raycast extension and didnā€™t see a reference to it anywhereā€¦

On Feb 13, 2024, at 3:25ā€ÆAM, Chris Chinchilla @.***> wrote:

@davewehr https://github.com/davewehr Clutching at straws here, but did you follow the setup steps? Specifically following this URL and giving access to the appropriate boards etc?

https://trello.com/1/authorize?expiration=never&name=RayCastTrelloExtension&scope=read&response_type=token&key=13f8c59607ba6d82531d3db5f46999c1

ā€” Reply to this email directly, view it on GitHub https://github.com/raycast/extensions/issues/8981#issuecomment-1940722788, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO5VAKWPX3GQ3KAFFNRTXFLYTMPQHAVCNFSM6AAAAAA6RSSZNWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBQG4ZDENZYHA. You are receiving this because you were mentioned.

ChrisChinchilla commented 4 months ago

@davewehr Ahh, this might explain the occasional error then, as it's mentioned in the read-me file, but I can't imagine everyone would look at it, so clearly, there needs to be better onboarding. I'll work on it!

ChrisChinchilla commented 4 months ago

Unfortunately, Raycast supports PKCE, and the Trello API doesn't, so I was hoping to change the auth flow to OAuth, but I can't. So instead, I am just going to clear the fields people need to fill in, and at least then trying to use any command will take people to the preferences showing they have to add somethingā€¦ šŸ¤·ā€ā™‚ļø

raycastbot commented 2 months ago

This issue has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 10 days to keep our backlog clean šŸ˜Š

raycastbot commented 2 weeks ago

This issue has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 10 days to keep our backlog clean šŸ˜Š

raycastbot commented 4 days ago

This issue has been automatically closed due to inactivity.

Feel free to comment in the thread when you're ready to continue working on it šŸ™‚

You can also catch us in Slack if you want to discuss this.