Add credentials to an n8n custom node: an API key field, the authenticate block that adds the header to every request, a credential test request, and OAuth2. Part 4 of 10.
Launch your n8n integration - NativeShip
In this episode:
- A credential type is a small file: what goes in it
- typeOptions password: true, and what happens without it
- authenticate: adding the Authorization header once, for every request
- The credential name mismatch that fails without an error
- A test request, so a wrong key is caught in the form
- OAuth2 credentials, and choosing scopes
Chapters
0:00 401 Unauthorized
0:34 A credential is a file
0:49 The API key field
1:16 authenticate: add the header once
1:43 The name mismatch
2:10 The first successful request
2:32 The credential test request
3:15 OAuth2 credentials
3:48 Choosing scopes
4:07 What’s next
The whole series: https://www.youtube.com/playlist?list=PLYkThRYZ5f5g