Tokens are a feature within Popdock that can enforce security on named API endpoints and calling the Popdock API. There are two ways to create a token inside of Popdock and both of these methods will be covered in this article.
Method 1: Inside the User Settings
The first method of creating tokens in Popdock is within a user’s individual profile. This is a better method for a developer within your environment who will be testing various API Endpoints and list data endpoints.
1. To create a token for a user in Popdock, go to the main menu and then select Security.
2. From your list of Users, select the Edit icon to the right of the user you want to assign a token to. This will open up the User’s security profile. Select Tokens on the left side of the page.
3. Select Click here to add a token.
4. Use the Name field in the Add token window to give your token a name. Then select Add token.
5. This token is now available for use to the user.
Method 2: API Users
An API User is a special type of user who does not have login access to the Popdock web application, but rather can consume data via Popdock through widgets or API calls. To learn how to create an API User visit the following article: Understanding API Users – Applying Security to Popdock Widgets and API Calls.
1. Under the main menu, select Security from the left navigation to open the Security page.
2. On the Security page, select API users and then select Click here to add an API user.
3. The Add API User window will open. Enter a name for the usr in the Name field. You can check the box next to Add an API token to generate an API token for this user from this window. If you select to add an API token, an additional field will appear to create a Token name. After you have completed all fields, select Add.
Note: You have the option of generating an API token after the API User is created as well. Once your API User is created, follow Method 1 Steps 2-5 to create an API token for your API User.
Questions on creating tokens? Contact support@eonesolutions.com.