Hey guys,
I’m starting with n8n and have done some integrations with payment platforms, searching for notes, etc., but I have a question regarding the type of authentication of a service that I would like to integrate,
It uses oAuth2 with digital certificate
Where in their documentation the following message appears:
curl -i -X POST
-H “Authorization:Basic ZGphUjIxUEdvWXAxaXlLMm4yQUNPSDlSRWRVYjpPYlJzQUpXT0w0ZnYyVHAyN0QxdmQ4ZkIzT3RlCg”
-H “Role-Type:THIRD PARTY”
-H “Content-Type:application/x-www-form-urlencoded”
-d ‘grant_type=client_credentials’
–cert-type P12
–cert certificate_file.p12:certificate_password
‘https://autenticacao.sapi.serpro.gov.br/authenticate’
This p12 certificate can also be in pfx format, but I couldn’t do it either,
Would anyone have any suggestions on how to do this?
I would be very grateful, and I would like to congratulate and thank in advance everyone who can help and collaborate in the development of this excellent application