Hi team,
I set the adminAuth
adminAuth: {
type: "credentials",
sessionExpiryTime: 7200,
users: [
{
username: "ne323nqa",
password: "$2b$08$1aRZsE3232j0wg73rlS1oB.K.QcV0uQsdGm1W4GUj2QkD4NVqe5ZdMxu",
permissions: "*"
}
],
And also set the httpNodeAuth
httpNodeAuth: {user:"ne323nqa",pass:"$2b$08$1aRZsE3232j0wg73rlS1oB.K.QcV0uQsdGm1W4GUj2QkD4NVqe5ZdMxu"},
But when I used the admin API [/auth/token] to produce an access token and the pass to the [http in] node, it told me that Unauthorized.
And I used the postman to call the API[http in], I also set the header :Authorization, but it didn't work, still said Unauthorized.