Hey, @se_we welcome to the community.
According to the example, both requests send the credentials using query parameters so no authentication has to be set on the node level.
1 - The first HTTP request node sends the login and password parameters using query parameters.
2 - The other HTTP requests that need the token will use expresions to reference the token returned by the first HTTP node and will send that info using the query parameter just like the first one.
Check the example below. If that does not solve your problem simply get back to us.
{
"nodes": [
{
"parameters": {},
"name": "Start",
"type": "n8n-nodes-base.start",
"typeVersion": 1,
"position": [
250,
300
]
},
{
"parameters": {
"url": "www.example.com/api/user/get_token?login=admin&password=admin",
"options": {},
"queryParametersUi": {
"parameter": [
{
"name": "login",
"value": "admin"
},
{
"name": "password",
"value": "admin"
}
]
}
},
"name": "HTTP Request",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 1,
"position": [
500,
300
]
},
{
"parameters": {
"url": "www.example.com/api/res.partner/search/1?token=24e635ff9cc74429bed3d420243f5aa6",
"options": {},
"queryParametersUi": {
"parameter": [
{
"name": "token",
"value": "use expresion"
}
]
}
},
"name": "HTTP Request1",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 1,
"position": [
700,
300
]
}
],
"connections": {
"Start": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request": {
"main": [
[
{
"node": "HTTP Request1",
"type": "main",
"index": 0
}
]
]
}
}
}