I created an api to authenticate with HttpBearerAuth in my controller
'class' => HttpBearerAuth::className(),
when I do test the api with Authorization: Bearer some-token I get an error
{"name":"Unauthorized","message":"You are requesting with an invalid credential.","code":0,"status":401,"type":"yii\\web\\UnauthorizedHttpException"}
Am using postman rest client. I tried dump the headers and I don’t see. Authorization in the headers.