calm-agent-16830
09/12/2022, 6:45 AM/api/networks/skynet/acls give {"Code":401,"Message":"unauthorized"}
And trying to authenticate using /api/nodes/adm/stellaprod/authenticate gets {"Code":400,"Message":"crypto/bcrypt: hashedPassword is not the hash of the given password"}calm-agent-16830
09/12/2022, 6:46 AMcalm-agent-16830
09/12/2022, 6:47 AMcalm-agent-16830
09/12/2022, 7:45 AMjolly-london-20127
09/12/2022, 11:27 AMjolly-london-20127
09/12/2022, 11:27 AMjolly-london-20127
09/12/2022, 11:27 AMjolly-london-20127
09/12/2022, 11:27 AMmost-rain-82770
09/12/2022, 12:01 PMacceptable-action-98975
02/08/2023, 12:51 PM/api/nodes/adm/tvnc/authenticate requiring the object
{
"id": "string",
"macaddress": "string",
"password": "string"
}
- if i try to copy the long Auth Token simulating the browser logon where do we need to put that in ?
at the moment the API call fails building on the swagger docs with the error
{
"Code": 400,
"Message": "crypto/bcrypt: hashedPassword is not the hash of the given password"
}acceptable-action-98975
02/09/2023, 1:24 PMPOST /api/users/adm/authenticate "Node authenticates using its password and retrieves a JWT for authorization"
On the swaggerhub apis-docs the description of this API call should be *"**User *authenticates using its password and retrieves a JWT for authorization"
- other way round can someone explain how to remove List/Revoke used AuthTokens ? currently one has to delete the user to revoke all pre generated JWT's associated with that user.
- but those invalidated tokens could be reused if the same username is recreated even with a different password, this could possibly be a security issue. I would suggest a way to destroy the JWT.
Lastly, how does one use the API call to ..
POST /api/nodes/adm/{network}/authenticate "Authenticate to make further API calls related to a network."