Skip to content

account.login

GET
/oauth/login{code}{state}{scope}{reference}

Use this endpoint to log a shopper in using OAuth.

Path Parameters

code*string

A temporary authorization code that must be exchanged for an ID token obtained from Bolt's /oauth/token endpoint.

state*string

A randomly generated 8-character string.

scope*string

Set to openid.

reference*string

The order token associated to the shopper logging into a Bolt Account.

Header Parameters

X-Bolt-Hmac-Sha256?string

Bolt sends a signed HMAC for hook verification

Response Body

application/json

application/json

curl -X GET "https://example.com/oauth/loginstringstringstringstring"
{  "status": "success"}