Using BearerAuth for stub #910
Unanswered
tkrisztian95
asked this question in
Ask For Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
According to the Specmatic documentation for Bearer auth I would like to specify security required for the API.
If I start the stub server using command
specmatic stub /mnt/c/Git/specmatic/service.yaml
.I'm getting the following error
"Authorization header is missing in request"
, see logs:In the service.yaml I have the following:
I also have set the variable
BearerAuth
to an actual JWT token in the current terminal session.Is there something else needed? Why Im getting this error when I start the stub?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions