This means that a token, which could allow someone else to gain access to your Management API, is leaving the privacy of your computer and uploaded Postman's servers.Īt also has to be said that Postman has taken measures to ensure that this information is encrypted, and indeed encourages users to store this sort of information in Environment Variables. If you are signed in to the Postman application it will automatically try and synchronize some entities such as Collections and Environments with the Postman servers. We do need to point out that storing tokens in Postman as environment variables could pose a potential security risk. Now you can go back to Request Builder and execute the API call:Ī word about storing tokens in Postman variables Save the settings and close the environments dialog. Select the environment you want to manageĪdd a variable called auth0_token with the value of the token generated by the API Explorer All API calls in the Postman collection already has an Authorization Header with a Bearer Token with the value of a variable called auth0_token defined, so all you need to do is set the value for the variable in your environment.įrom the enviromnents menu in Postman, select the Manage Environments option
The next step is to set the value for the token in Postman. In the API Explorer, browse to the API call you want to make and ensure that the required scopes for that API call is selected. To generate a token you can use the existing Token Builder which is part of the Management API Explorer. The reason for this is that you will need to generate a token with the correct scopes in order to execute API calls. The information for the API call will appear in the Request Builder.Īt this point trying to execute an API call will result in an error If you want to execute an API call, simply browse to the API call in the Sidebar and select it. The Auth0 Management API Collection is organized into folders which categorizes the various API calls according to the endpoint, so you will for example find all the Users methods under the Users folder.
POSTMAN DOWNLOAD COLLECTION INSTALL
POSTMAN DOWNLOAD COLLECTION MAC
In this blog post I will open it in the Chrome App, but the experience is similar in the Mac App. Next, head over to our new API Landing Page, scroll down to the Management API v2 section and click on the "Run in Postman" button.Īt this point Postman will prompt you whether you want to open the Collection in the Mac App or the Chrome App To install the collection you will need to have either the Postman Chrome App or the Postman Mac App installed. Installing the Collectionīefore continuing, please ensure that you are signed into your Auth0 account In this blog post I will walk you through this experience.