updated wrong docs, REFRESH instead of Access token
This commit is contained in:
parent
0c300190c8
commit
3c2294a0f4
|
@ -82,7 +82,7 @@ pageContext.setAttribute("firstContextName", sub);
|
|||
$('#refresh_token_url').text(resultObject.token_url);
|
||||
$('#client_id').text(resultObject.client_id);
|
||||
|
||||
$('#usage_token').html(generateAccessCurl("[REFRESH_TOKEN]", "[SERVICE_URL]"))
|
||||
$('#usage_token').html(generateAccessCurl("[ACCESS_TOKEN]", "[SERVICE_URL]"))
|
||||
$('#usage_refresh').html(generateRefreshCurl("[CLIENT_ID]", "[REFRESH_TOKEN]", "[REFRESH_URL]"))
|
||||
|
||||
var raw = JSON.parse(resultObject.raw_token)
|
||||
|
@ -338,7 +338,7 @@ pageContext.setAttribute("firstContextName", sub);
|
|||
token
|
||||
in the Authorization header of the http request"</p>
|
||||
<p>usage:<br>
|
||||
<code id="usage_token" class="wraptext">curl -H "Authorization: Bearer [ACCESS_TOKEN] " \<br> https://api.esempio.com/userinfo</code>
|
||||
<code id="usage_token" class="wraptext">curl -H "Authorization: Bearer [ACCESS_TOKEN] " \<br> https://api.example.com/userinfo</code>
|
||||
</p>
|
||||
<p>
|
||||
ref: <a
|
||||
|
|
Loading…
Reference in New Issue