Google OAuth2 Redirection Issue with Google Analytics/Drive

What type of hardware are you using: VPS bought online
What YunoHost version are you running: 12.0.9
What app is this about: n8n

Describe your issue

Hello Yunohost and N8N community, I have installed n8n on my Yunohost server and I’m trying to connect it to my Google Analytics account via OAuth2 to create an automation. However, I’m encountering a redirection issue after authorizing access to my Google account. (I am also experiencing the same problem with Google Drive) (I also know that I successfully connected on n8n Online without any issues, so it seems to be related to this specific n8n instance.) Here are the steps I’ve taken:

I created an application in the Google Cloud Console with the redirect URL: https://[my site]/n8n/credentials/oauth2-credential/callback.
I configured the Google Analytics node in my n8n workflow with my application’s credentials.
When I run the workflow and click the “Sign in” button, I am redirected to the Google authorization page.
After authorizing access, I am redirected to the main page of my n8n instance instead of returning to the workflow.
I have verified that the redirect URL is correct and that my Google Cloud application is properly configured. I suspect that Yunohost requires a specific configuration for OAuth2 redirection. Have you encountered this issue before? Do you know of any solutions or specific configurations to resolve this problem? Thank you in advance for your help.

Share relevant logs or error messages

n8n installation log: (I also want to mention that I completely reinstalled Yunohost to see if the problem could be resolved that way, but it didn’t work) https://paste.yunohost.org/raw/ejilikudac

Need help, I’ve already send a message for assistance but the topic is closed witouh any answer…

Share relevant logs or error messages

https://paste.yunohost.org/raw/ejilikudac

@Support Need help pls

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