Use Access Keys and OAuth 2.0 Token credentials

OAuth 2.0 Token credentials

HERE Token Credentials conform to the OAuth 2.0 industry standard protocol for Bearer Access Tokens. HERE provides REST APIs to obtain these secure access tokens that may be used for up to 24 hours by your application for the purpose of authenticating requests to the HERE platform.

As a developer, you will need to code your application to perform the specific steps required to obtain OAuth 2.0 Token Credentials for each request to a HERE service. You may use the platform CLI, write your own code, use the HERE AAA Java SDK or utilize 3rd party libraries.

If you are new to this process or just want to quickly verify your access keys with a HERE service, we recommend using the Postman API development environment. See the following sections for more information:

Using OAuth 2.0 access tokens

Having followed one of the above methods, you have now successfully obtained an access bearer token to use in making authentic REST requests to HERE API services!

Include the token in the HTTP Authorization header of your REST requests as a bearer token:

Authorization: Bearer <token>

Sample REST Request

GET /maptile/2.1/maptile/newest/normal.day/13/4400/2686/256/png8
Host: 1.base.maps.ls.hereapi.com
Authorization: Bearer eyJhbGceOyJSAMPLEiIsImN0eSISAMPLEt7VTFIllwIM0cKNCjN2WCCTqlwEEmk-t3gx1BpqUFoeBSAMPLEvhj8nl-RBGcyoljY...
Cache-Control: no-cache

results matching ""

    No results matching ""