Skip to content

Implicit

Use the Implicit grant type for pure browser-based applications. This grant type only returns an access token and expiration time.

Request an access token

During the log in process, the Implicit grant type redirects your user to a Trustpilot owned website where they are authenticated and return with a parameter containing an access token and expiration time.

Method: GET https://authenticate.trustpilot.com

Parameters

NameTypeDescription
client_idRequired stringThe API key
redirect_uriRequired stringThe client’s site URL. The URL in your app where you want your user to be redirected to after authorization. The redirect_uri must be https.
response_typeRequired stringValue must be set to token

Example

https://authenticate.trustpilot.com?client_id=APIKey&redirect_uri=https://www.clientsSite.com&response_type=token

Redirects back to

https://www.clientsSite.com/#access_token=AccessToken&token_type=bearer&expires_in=359999

The access_token parameter is stored behind the fragment and is available to client side scripting.