Describe the problem/error/question
As described in another post ( Missing parameter: \"code\" is required oAuth 2.0 ) I am having trouble connecting Moloni API service via OAuth2.
The reason for this is quite simple - the authorization token is only provided by Moloni if the request is made by a URL formatted like such:
https://api.moloni.pt/v1/grant/?grant_type=authorization_code&client_id=*[your_developer_id]* &redirect_uri=[your_callback_url] &client_secret=[your_client_secret_code] &code=[your_authorization_code]
I have managed to successfully add other services (namely Zoho Mail) using a custom Oauth2 without any problem but cannot add this one to n8n. However, if I execute the process manually, I can get the authorization code as intended.
Can you please advise?
Information on your n8n setup
- n8n version: 1.71.3
- Database (default: SQLite): SQLite
- n8n EXECUTIONS_PROCESS setting (default: own, main): Own
- Running n8n via (Docker, npm, n8n cloud, desktop app): Npm
- Operating system: Debian