Refresh the access token

Refresh the access token

Access tokens have limited lifetimes. If your application needs access to a Penta-b’s API beyond the lifetime of a single access token, it can obtain a refresh token. A refresh token allows your application to obtain new access tokens
    • Related Articles

    • Obtain an access token

      Before your application can access private data using Penta-b API, it must obtain an access token that grants access to that API. A single access token can grant varying degrees of access to multiple APIs. There are several ways to make a token ...
    • Send the access token to an API

      After the application obtains an access token, it should send the token to a Penta-b’s API in an HTTP Authorization request header. The following headers should be added to each request: PentaUserRole: the selected user’s role PentaOrgID: the ...
    • How to access /use a secured layer using my token?

      You can access any secured layer using your token depending on your preference using one of the below methods: · QGIS ◦ From data source manager, add a new connection ◦ Enter connection name ◦ Enter layer URL you have from the secured links at MnA ...
    • Testing obtaining access tokens

      After receiving the OAuth 2.0 credentials, the configurations can be checked easily using Postman. Here is how: Open a new Postman request. Navigate to the Authorization tab, and select OAuth 2.0 from TYPE 3. Click on Get New Access Token button 4. ...
    • Access Levels and Permissions

      In this section you will be able to: -Manage your data Permissions (layers permissions) -Manage users and roles -Diagnose your layers for any existing warnings or errors How to add a new Role Sign-in with your admin account (check that link if you ...