Closed sugarjig closed 6 years ago
@sugarjig. How are you passing Authorization header? It should be in proper JSON format Example: {"Auth-header": "Auth-header-value"}
AFAIK, I'm passing the header correctly. The command I'm executing has --headers '{"Authorization": "Bearer <token>"}'
@sugarjig Have you tried the same through the web interface? Are you getting the same error for web interface as well?
Yes, I have tried it through the GUI. The error I get there is "Broken Authentication and session management" with a payload from our service that matches that expected when the token is incorrect or missing.
@sugarjig I will look into this. Give me some time.
helo evreone
my comit
I'm trying to follow the instructions to get started, but I'm not getting very far. I have pulled the Mongo image and built the CLI Docker image. I'm running the service I want to test locally, and now I'm trying to run the following command, replacing
<token
> with a valid token I obtain ahead of time:I get the following stack trace:
I've also tried the same call in the Astra GUI, but I get "Broken Authentication and session management" and the API returning a 401. It's almost as if Astra is not properly sending the Authorization header.
Is there something I'm missing from the command? Am I supposed to pass the command a valid token?