JENKINS Authentication Fails
My development team's configuration settings were matrix-based security
so I had to find my group and give my group workspace access.
1.Click on Manage Jenkins . 2.Click on Configure Global Security . 3.in matrix-based security change: Overall - Read Job - Build Job - Read Job - Workspace
Then
POST jobUrl/buildWithParameters HTTP/1.1 Host: user:token Authorization: Basic dWdlbmxpazo4elhjdmJuTQ== Cache-Control: no-cache Content-Type: application/x-www-form-urlencoded Branch=develop
For me
https://user:password@jenkins.mycompany.org/job/job_name/build?token=my_token
in https://jenkins.mycompany.org/configureSecurity
disable CORS
hope this help