updated wrong docs, REFRESH instead of Access token

This commit is contained in:
Massimiliano Assante 2024-03-12 14:51:34 +01:00
parent 0c300190c8
commit 3c2294a0f4
1 changed files with 2 additions and 2 deletions

View File

@ -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>&emsp;https://api.esempio.com/userinfo</code>
<code id="usage_token" class="wraptext">curl -H "Authorization: Bearer [ACCESS_TOKEN] " \<br>&emsp;https://api.example.com/userinfo</code>
</p>
<p>
ref: <a