Last modified by allan on 2022/05/23 22:40

From version 2.1
edited by villemai
on 2019/11/19 22:30
Change comment: There is no comment for this version
To version 11.1
edited by villemai
on 2020/03/10 13:45
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -2,9 +2,7 @@
2 2  (((
3 3  (% class="container" %)
4 4  (((
5 -= My Collab's Extended Title =
6 -
7 -My collab's subtitle
5 += clb-py-tools =
8 8  )))
9 9  )))
10 10  
... ... @@ -12,18 +12,23 @@
12 12  (((
13 13  (% class="col-xs-12 col-sm-8" %)
14 14  (((
15 -= What can I find here? =
13 +The Collaboratory Single Sign On (SSO) is available to application developers who integrate there application using OpenID Connect. In order to help the integration in Python applications, we provide the clb-py-tools library.
16 16  
17 -* Notice how the table of contents on the right
18 -* is automatically updated
19 -* to hold this page's headers
15 +In order to use the clb-py-tools, you will need to have an OpenID Connect client. You can find the instructions on registering a client here: [[Community App Developer Guide>>doc:Collabs.collaboratory-community-apps.Community App Developer Guide.WebHome||anchor="HCreatingyourOpenIDConnectclient"]].
20 20  
21 -= Who has access? =
17 +To create a client, you will need the client ID and client secret you obtained when registering the client.
22 22  
23 -Describe the audience of this collab.
24 -)))
19 +The Authority is "[[https:~~/~~/iam.ebrains.eu/auth/realms/hbp>>https://iam.ebrains.eu/auth/realms/hbp]].
25 25  
26 26  
22 +{{code language="python"}}
23 +from clb_py_tools.iam.client import Client
24 +authority = "https://iam.humanbrainproject.eu/auth/realms/hbp"
25 +Client(authority, client_id, client_secret)
26 +
27 +{{/code}}
28 +)))
29 +
27 27  (% class="col-xs-12 col-sm-4" %)
28 28  (((
29 29  {{box title="**Contents**"}}
... ... @@ -30,6 +30,9 @@
30 30  {{toc/}}
31 31  {{/box}}
32 32  
33 -
36 +{{box title="clb-py-tools"}}
37 +* Source: [[https:~~/~~/github.com/HumanBrainProject/clb-py-tools>>https://github.com/HumanBrainProject/clb-py-tools]]
38 +* Docs: [[clb-py-tools example notebook>>https://lab.humanbrainproject.eu/hub/user-redirect/tree/drive/Shared with groups/Collaboratory Python Tools/clb-py-tools-example.ipynb]]
39 +{{/box}}
34 34  )))
35 35  )))
XWiki.XWikiRights[1]
Allow/Deny
... ... @@ -1,0 +1,1 @@
1 +Allow
Groups
... ... @@ -1,0 +1,1 @@
1 +Collabs.clb-py-tools._.groups.collab-clb-py-tools-editor
Levels
... ... @@ -1,0 +1,1 @@
1 +view,comment,edit
XWiki.XWikiRights[2]
Allow/Deny
... ... @@ -1,0 +1,1 @@
1 +Allow
Groups
... ... @@ -1,0 +1,1 @@
1 +Collabs.clb-py-tools._.groups.collab-clb-py-tools-administrator
Levels
... ... @@ -1,0 +1,1 @@
1 +view,comment,edit,delete
XWiki.XWikiRights[3]
Allow/Deny
... ... @@ -1,0 +1,1 @@
1 +Allow
Levels
... ... @@ -1,0 +1,1 @@
1 +view
Users
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
XWiki.XWikiRights[4]
Allow/Deny
... ... @@ -1,0 +1,1 @@
1 +Allow
Groups
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiAllGroup
Levels
... ... @@ -1,0 +1,1 @@
1 +view