Problem in Microsoft SharePoint OAuth2 API authentical

Hello,

I have setup the credentials correctly as well as the subdomain. and I am geting connection succesfull. ( I get the browser pop up and it disappers after 5 seonds) .

However when I try to fetch the lists, I get
could not load list
403 Forbidden
check you credentials.

this is teh config am using :
OAuth Redirect URL : https://XXXXX/rest/oauth2-credential/callback
Authorization URL : https://login.microsoftonline.com/[tenant ID ] /oauth2/v2.0/authorize
Access Token URL : https://login.microsoftonline.com/[tenant ID]/oauth2/v2.0/token

the redirect URL matches with the azure config, and instead of using the tenant ID I used [common] in both cases I got account connected, but failed to retrieve the list and got the 403 forbidden error.

I tried a python script , that provided the tenant id , client and secret id , and it worked fine.

Any help is appreciated.

Information on your n8n setup

  • 1.98.1,
  • postrgresl
  • default
  • docker
    -ubuntu 20

just an update , i installed the community node n8n-nodes-sharepoint and it worked, I was able to retrieve the list .
I htink the documentaiton to sharepoint node needs to be updated, I wasn’t able to get it to work yet. +

Hello Jad. Please, Could you share the file to install the node n8n-nodes-sharepoint?
Thanks.

Hi,

Did you manage to add sharepoint credentials. The documentation say you need to add client id and client secret. But there in no option to add it in n8n.