Issue with OAuth Integration for Trello Power-Up and ChatGPT Actions
Asked by Rabbit Consulting:

Hello Trello members,

I am encountering an issue with the OAuth integration for my Trello Power-Up named "Mindful Mentor Mike," which is intended to integrate with ChatGPT Actions. Below are the detailed steps I have taken:

1. Created a new Power-Up in the Trello Developer Portal.
2. Set the iframe connector URL to <https://example.com>.
3. Generated and entered the API Key and Secret in the ChatGPT Actions configuration.
4. Set the Allowed Origins in Trello to <https://chat.openai.com>.
5. Configured the Authorized Redirect URI in Google Cloud to <https://chat.openai.com/aip/g->`<my-specific-gpt-id>/oauth/callback`.

When attempting to complete the OAuth flow, I consistently receive an "App not found" error at the following URL: [https://trello.com/1/OAuthAuthorizeToken?response_type=code\&client_id=](https://trello.com/1/OAuthAuthorizeToken?response_type=code&client_id=)\<my-client-id\>\&redirect_uri=https%3A%2F%2Fchat.openai.com%2Faip%2Fg-\<my-specific-gpt-id\>%2Foauth%2Fcallback\&state=\<random-state\>\&scope=read%2Cwrite

I have meticulously verified all settings, and they match the provided documentation. However, the issue persists. Could you please provide guidance on what steps I should take to resolve this issue?

Thank you for your assistance.

Best regards,  

Nils Gerritsen Plaggert


Answers:
author: Mutya A
body: Hi there!  

Want to check if you have used these instructions on how to generate a Trello API key and token:

1. Go to Power-up Admin page: <https://trello.com/power-ups/admin>
2. Create a New Power-Up by clicking the "New" button in the top right of the Power-Up admin portal.
3. Follow the steps on [Adding a New Power-Up](https://developer.atlassian.com/cloud/trello/guides/power-ups/managing-power-ups/#adding-a-new-custom-power-up)
4. Once you already submitted the form to create your Power-Up, you will be taken to the **API Key** tab to [Generate a New API key](https://developer.atlassian.com/cloud/trello/guides/power-ups/managing-power-ups/#generating-an-api-key).
5. On the same page where you found your newly generated API key, click the hyperlinked "Token" at the right of the API key.
6. Once you click Allow you'll grant your own app (identified via your API key) access to your account and be redirected to a page that contains the API token. Here's more info on how to [generate a token](https://developer.atlassian.com/cloud/trello/guides/rest-api/api-introduction/#authentication-and-authorization).

Here's more information on [managing API keys](https://developer.atlassian.com/cloud/trello/guides/rest-api/api-introduction/#managing-your-api-key) and [adding new Power-Ups](https://developer.atlassian.com/cloud/trello/guides/power-ups/managing-power-ups/#adding-a-new-custom-power-up).

Based from the above, can you also try with using the Trello API Key and Token in the ChatGPT Actions configuration and see if that resolves the error?

If that doesn't work, then this would be a really great question to share in 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.

<https://community>.developer.atlassian.com/c/trello

I hope this helps, but let us know if you have any questions!  
----------------  
If this post ***helps*** with your query, then please consider the **Accept answer** or **Like** button to help the other users find it more quickly.


Tags: cloud

trello-cloud