EAUTH Error - Redirect URL Issue Maybe

EAUTH Error in n8n

This might be an easy issue to solve, and i think it is originating from the redirect URL’s in the app oauth. So i am just making sure and need some feedback about the cloud version of n8n.

Error message

ERROR: UNKNOWN ERROR - check the detailed error for more information
The provided authorization grant (e.g., authorization code, resource owner credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.

My Question:

This is a redirect url issue i guess, since i didn’t register any n8n related urls in the redirect url section.

So my question is, since i am using the npm version of n8n locally for development, what should be the redirect url for the cloud version on deployment?

My goal is to use n8n cloud in the end, when ready to deploy.

I noticed that the redirect url provided by n8n is always linked with my tunnel instance, eg: https://some-stuff-here.hooks.n8n.cloud/rest/oauth2-credential/callback

If I am missing something here, please inform me

Hey @waffles,

The redirect url in the service you are using would be whatever n8n gives you in the web interface for the credential type. It will normally look something like one the you have provided but don’t forget that the tunnel url can change on local instances.

@Jon Thanks for the quick reply! My plan is to deploy eventually with n8n cloud, will the redirect url, i’ll get from n8n cloud, be static or dynamic?

Hey @waffles,

On Cloud it will be static.

@Jon Thanks a lot! That’s a relief

1 Like

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