Hi Forum,
I have got a PHP application successfully talking to the Rancher API using an API key, however when enabling AD authentication the API access returns a 401 unathorized, if AD auth is disabled it starts working again?
FYI trying to hit the following endpoint: http://rancher.local.dev/v1/projects/1a5
We are only using one Rancher environment, ‘Default’ and currently on build v1.1.0-dev1.
Here’s the JSON response from the API with AD auth enabled:
{
“id”: “e58e3d24-2b4f-4e8a-ae25-318b019ffd98”,
“type”: “error”,
“links”: {},
“actions”: {},
“status”: 401,
“code”: “Unauthorized”,
“message”: “Unauthorized”,
“detail”: null
}