Last modified by messines on 2021/06/08 17:32

From version 16.1
edited by mmorgan
on 2020/07/16 18:54
Change comment: There is no comment for this version
To version 17.5
edited by messines
on 2020/09/15 11:28
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.mmorgan
1 +XWiki.messines
Content
... ... @@ -42,8 +42,15 @@
42 42  The **scope** parameter can include a combination of several values. Each user will be asked to consent to sharing that scope with your app upon first access.
43 43  
44 44  * **openid: **This scope is required because we use the OIDC protocol. It will give your app access to the user's basic information such as username, email and full name.
45 +* **profile** : More information on user if provided by the user
46 +* **email **: The verified email of the user, should be add in addition of openid and/or profile to get the email.
45 45  * **group **(optional)**: **If you request this scope, the future access token generated will authorize your app to identify which units and groups the user belongs to.
46 46  * **team **(optional)**: **This scope is like the group scope lets your app identify the permissions of the user, but by identifying what collabs the user has access to and with what roles.
49 +* **clb.wiki.read **(optional): access to GET Collab API
50 +* **clb.wiki.write** (optional): access to DELETE/PUT/POST Collab API
51 +* **clb.drive:read **(optional): access to GET Drive API
52 +* **clb.drive:write** (optional): access to DELETE/PUT/POST Drive API
53 +* **offline_access : **provide refresh token
47 47  
48 48  {{info}}
49 49  The group and team scopes are a simple way for your app to grant permissions to its services and resources when you want to grant access to a very few units, groups, or collab teams. For more complex permission management, contact support.
... ... @@ -67,7 +67,7 @@
67 67  
68 68  ==== Request ====
69 69  
70 -/POST: [[https:/iam.ebrains.eu/auth/realms/hbp/protocol/openid-connect/token>>url:https:/iam.ebrains.eu/auth/realms/hbp/protocol/openid-connect/token]]
77 +/POST: [[https:~~/~~/iam.ebrains.eu/auth/realms/hbp/protocol/openid-connect/token>>https://iam.ebrains.eu/auth/realms/hbp/protocol/openid-connect/token]]
71 71  
72 72  with the following parameters:
73 73  
... ... @@ -109,7 +109,7 @@
109 109  
110 110  ==== Request ====
111 111  
112 -/GET: [[https:/iam.ebrains.eu/auth/realms/hbp/protocol/openid-connect/userinfo>>url:https:/iam.ebrains.eu/auth/realms/hbp/protocol/openid-connect/userinfo]]
119 +/GET: [[https:~~/~~/iam.ebrains.eu/auth/realms/hbp/protocol/openid-connect/userinfo>>https://iam.ebrains.eu/auth/realms/hbp/protocol/openid-connect/userinfo]]
113 113  
114 114  with the following parameters:
115 115