Hello, I have look on similar topic but I didin’t find a solution.
I’m trying to get a login token with my account using the API and I still get an error but don’t know why.
Here is the curl command that I use :
curl -v -H “Content-Type: application/json” -v -k -X POST
-d “{"gpg_auth": {"keyid": "$ADUCUING_DIGITAL_EMPRUNT"}}” “$PASSBOLT_DOMAIN/auth/login.json”
$PASSBOLT_DOMAIN = ‘https://pass.int.xxxxxxxxx.com’
$ADUCUING_DIGITAL_EMPRUNT = (the yelow information on the picture in one line and without spaces)
The error :
< X-GPGAuth-Authenticated: false
< X-GPGAuth-Progress: stage2
< X-GPGAuth-Error: true
{
“header”:{
“id”:“c6e2b6e7-6675-46f2-96d2 -fcfb1d181be3”,
“status”:“error”,
“servertime”:1730812368,
“action”:“a3c19ad2-8920-5395-86d0-8567cb34f382”,
“message”:“The authentication failed.”,
“url”:“/auth/login.json”,
“code”:200
},“body”:null}
If you have any idea it will be awesome, thanks