I am trying to generate a context file using ZAP UI and have setup the Authentication with JSON based authentication and Session Management is set to 2 (HTTP Authentication Session Management).
As per the documentation, this session management should be used when the session is managed with HTTP request header Authorization.
In my case my application also expects Bearer word in front of the token value , so the token and header would look like
Authorization: Bearer <tokenvalue>
does the ZAP OWASP docker image add this Bearer word on the token ,if not what would be the best way to achieve this..
here is the command which i am using to run the scan
docker run -p 5000:5000 -v $(pwd):/zap/wrk/:rw -t owasp/zap2docker-weekly zap-full-scan.py -t
https://abc.com:5000 -P 5000 -c zap-casa-config.conf -x results-full.xml -n def_context.context -U zeeshu26
anyhelp is highlighy appreciated