As these applications cannot display the BarTender Cloud login dialog, you'll need to specify a generated set of credentials to generate the token through Auth0.įor Web Applications, custom interfaces built to make calls and interact with the API use OAuth calls to create a login dialog. While all applications making API calls will ultimately use a token, only private applications like Insomnia or Postman explicitly define a token. If a tenant space has an Automation subscription, the API option will appear at the bottom of the left-hand menu. Tokens can be located in the cloud interface under your profile settings or the Manage Cloud Account section. For applications requiring tokens, the user must retrieve a new token on the cloud to continue to make calls. This information is generated by an identity provider, (OAuth and Auth0, based on the method selected). Without this information, the token is denied, and the API call is sent back. User ID - identifies the user identity of who is making the call.Tenant ID - tells the API which tenant space this call should go to.A token generally looks something like this:Ĭontained within this token are two key pieces of information A token is a long series of alphanumeric characters and symbols that looks like nonsense but contains important information about who is making these API calls and where they should go. Instead of using a username and password, the API utilizes access tokens. Here is the basic information about how authentication works. Unauthorized calls will be stopped by the Authentication gate and not allowed to continue. There are no options to use basic authentication or simply send commands without any authentication at all. The Cloud REST API requires authentication and calls cannot reach the API gateway. How does authentication work? What are tokens? Applicable to
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |