ServiceNow integration and /api/v2/authtoken/ endpoint in AWX

We are struggling with the integration between ServiceNow and AWX. The ServiceNow team (developers from Accenture) are saying that they expect to be able to make calls to an API endpoint /api/v2/authtoken/ and present https://docs.ansible.com/ansible-tower/3.2.7/html/towerapi/auth_token.html as documentation for this. Another link in that documentation points to the browseable API (https://docs.ansible.com/ansible-tower/3.2.7/html/towerapi/browseable.html), in which there is a screenshot of /api/v2/ which contains a reference to /api/v2/authtoken/. I don’t see this on my AWX (15.0.0), nor also on the latest version of Ansible Tower browseable API documentation (https://docs.ansible.com/ansible-tower/latest/html/towerapi/browseable.html).

Did the mechanism of token generation via /api/v2/authtoken/ get replaced by OAUTH somewhere along the way?

I have come across a blog post on ServiceNow integration from October 2019 (https://www.ansible.com/blog/ansible-servicenow-howto-part-3-making-outbound-restful-api-calls-to-ansible-tower). Does this method apply?

Rod Oliver

You might want to look at this

https://docs.ansible.com/ansible-tower/latest/html/administration/oauth2_token_auth.html