You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2017/06/27 08:48:38 UTC

[2/2] syncope git commit: [SYNCOPE-1120] Updating docs

[SYNCOPE-1120] Updating docs


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/ee802ac1
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/ee802ac1
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/ee802ac1

Branch: refs/heads/master
Commit: ee802ac1503a51b734a91448770fe05da193e138
Parents: cca472b
Author: Francesco Chicchiriccò <il...@apache.org>
Authored: Tue Jun 27 10:48:07 2017 +0200
Committer: Francesco Chicchiriccò <il...@apache.org>
Committed: Tue Jun 27 10:48:21 2017 +0200

----------------------------------------------------------------------
 .../workingwithapachesyncope/restfulservices.adoc             | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/ee802ac1/src/main/asciidoc/reference-guide/workingwithapachesyncope/restfulservices.adoc
----------------------------------------------------------------------
diff --git a/src/main/asciidoc/reference-guide/workingwithapachesyncope/restfulservices.adoc b/src/main/asciidoc/reference-guide/workingwithapachesyncope/restfulservices.adoc
index 544b143..9e240a1 100644
--- a/src/main/asciidoc/reference-guide/workingwithapachesyncope/restfulservices.adoc
+++ b/src/main/asciidoc/reference-guide/workingwithapachesyncope/restfulservices.adoc
@@ -86,8 +86,9 @@ It is possible to deal with the headers below when using the <<client-library>>
 contains the unique signed https://en.wikipedia.org/wiki/JSON_Web_Token[JSON Web Token^] identifying the authenticated
 user.
 
-The same header with provided value must be included in all subsequent requests, in order for the requester to
-be checked for authorization.
+The value returned for the `X-Syncope-Token` header must be included in all subsequent requests, in order for the
+requester to be checked for authorization, as part of the standard https://tools.ietf.org/html/rfc6750[Bearer^]
+`Authorization` header.
 
 .Obtaining JWT with http://curl.haxx.se/[curl^] 
 ====
@@ -101,7 +102,7 @@ X-Syncope-Token: eyJ0e..
 ....
 which can then be used to make a call to the REST API
 .....
-curl -I -H "X-Syncope-Token: eyJ0e.." http://localhost:9080/syncope/rest/users/self
+curl -I -H "Authorization: Bearer eyJ0e.." http://localhost:9080/syncope/rest/users/self
 .....
 ====