Open agonbina opened 3 months ago
Btw in the documentation it is mentioned that one can use Oauth2 authentication for notion: https://docs.n8n.io/integrations/builtin/credentials/notion/#using-oauth2
Hey @agonbina,
That is a very good find, it looks like for some reason we had planned to add OAuth and did all the work but never actually released it.
The internal dev ticket for this is NODE-1457
.
Hi, is there any quick workaround for me to enable this for my self hosted n8n instance?
Hey @agonbina,
We were actually meant to remove the option so we have been talking about what to do and we are likely going to add it instead of removing it. The quickest work around would be to use the credential with the http request node to manually call the API.
Bug Description
When configuring the authentication for all Notion nodes, it's only possible to specify the non public integration type secret/token (implemented as
notionApi
credentials in n8n).Notion OAuth based authentication is available (and possible to configure via the
Credentials
view in the n8n dashboard) however it is not possible to use them in a Notion node.It seems like this is not configured in the code here.
To Reproduce
Try to setup any Notion node.
Expected behavior
Able to configure the
notionOAuth2Api
credentials for a Notion node.Operating System
MacOS
n8n Version
latest docker image
Node.js Version
latest docker image
Database
PostgreSQL
Execution mode
main (default)