Error connecting to Canva oauth2

Describe the problem/error/question

When configure connection to canva using oauth

I follow a youtube guide

all is fine, but when i try to connect:

always get

What is the error message (if any)?

Please share your workflow

i’m using http Request to complete connection:

any have an idea, why is giving error.

Information on your n8n setup

  • **n8n version: 1.90.2 **
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default):
  • Running n8n via (Docker):
  • Operating system: linux Ubuntu

Same error here, some help would be nice! :slight_smile:

Hi are you already add your OAuth Redirect URL (N8N URL CALLBACK) to your canva? and for the scope you must put it all like:

app:read app:write design:meta:read asset:read asset:write design:content:read design:content:write

I do it, and I play with options in scope, put one just to test but with any option is doing same, and callback is sending same error. I play moving all options, using head or body, create multiple http nodes with differences to validate, same result, I don’t really know if with a local install is not happening but in cloud self-install is not working, but other services are working without problem

Heres my setup:

The different from your screenshot is from Access Token URL

Authorization URL = https://www.canva.com/api/oauth/authorize
Access Token URL = https://api.canva.com/rest/v1/oauth/token

Client ID = YOUR CANVA CLIENT ID
Client Secret = YOUR CANVA SECRET KEY

Canva Developer Platform
https://www.canva.com/developers/integrations/connect-api/


Paste your n8n callback to this section

Then the last step just click connection from your n8n credential to make connection
image

If my answer is the solution to your question, please mark this reply with “Solution” :white_check_mark: to make it easier for other members to find similar solutions.

2 Likes

Also, to add, make sure your callback URL isn’t localhost, you need an actual URL that canva can connect to when making the callback etc :slight_smile:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.