Authenticate through the API
Ansible Automation Platform provides a visual dashboard for out-of-the-box control while providing a REST API to integrate with your other tools on a deeper level.
The platform supports several authentication methods to integrate automation into existing tools and processes. This ensures that the right people can access platform resources.
You can use the following authentication methods in the API:
- Use session authentication
You can use session authentication when logging in to the platform gateway API or UI to manually create resources, such as inventories, projects, and job templates, and start jobs in the browser. - Basic authentication removal
Basic authentication has been removed in Ansible Automation Platform 2.7. Direct authentication to automation controller, automation hub, and Event-Driven Ansible controller is no longer available. Use OAuth 2 token authentication through platform gateway instead. - OAuth 2 token authentication
OAuth (Open Authorization) is an open standard for token-based authentication and authorization. OAuth 2 authentication is commonly used when interacting with the platform gateway API programmatically. - Single sign-on authentication
Single sign-on (SSO) authentication methods are different from other methods because the authentication of the user happens external to platform gateway, such as Google SSO, Microsoft Azure SSO, SAML, or GitHub.