diff --git a/package.json b/package.json index c613a70..0bccb5e 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "express-session": "1.15.6", "highlight.js": "9.3.0", "jade": "1.11.0", - "jquery": "3.3.1", + "jquery": "3.4.1", "jsgrid": "1.5.3", "marked": "0.5.2", "morgan": "1.9.1", diff --git a/views/help/oauth2_password_grant.jade b/views/help/oauth2_password_grant.jade index d6bc81b..0c21606 100644 --- a/views/help/oauth2_password_grant.jade +++ b/views/help/oauth2_password_grant.jade @@ -109,13 +109,13 @@ block help_content as before. Using curl syntax, the call will look like this (for confidential clients): pre. - curl -X POST -H 'Content-Type: application/json' -d '{"grant_type=refresh_token","client_id":"(your client id)","client_secret":"(your client secret)","refresh_token":"(refresh token)"}' #{authUrl}(auth method id)/api/(api id)/token + curl -X POST -H 'Content-Type: application/json' -d '{"grant_type":"refresh_token","client_id":"(your client id)","client_secret":"(your client secret)","refresh_token":"(refresh token)"}' #{authUrl}(auth method id)/api/(api id)/token p. As above, public clients (non-confidential clients) must not present their client secret when refreshing the token: pre. - curl -X POST -H 'Content-Type: application/json' -d '{"grant_type=refresh_token","client_id":"(your client id)","refresh_token":"(refresh token)"}' #{authUrl}(auth method id)/api/(api id)/token + curl -X POST -H 'Content-Type: application/json' -d '{"grant_type":"refresh_token","client_id":"(your client id)","refresh_token":"(refresh token)"}' #{authUrl}(auth method id)/api/(api id)/token p. If successful, the Authorization Server will return a new access token and a new refresh token.