Changes for page Collaboratory Python Tools
Last modified by allan on 2022/05/23 22:40
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -2,7 +2,9 @@ 2 2 ((( 3 3 (% class="container" %) 4 4 ((( 5 -= clb-py-tools = 5 += My Collab's Extended Title = 6 + 7 +My collab's subtitle 6 6 ))) 7 7 ))) 8 8 ... ... @@ -10,23 +10,18 @@ 10 10 ((( 11 11 (% class="col-xs-12 col-sm-8" %) 12 12 ((( 13 - TheCollaboratory Single Sign On (SSO) is available to application developers who integratethere applicationusing OpenIDConnect. In ordertohelp the integration in Python applications, weprovide the clb-py-tools library.15 += What can I find here? = 14 14 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"]]. 17 +* Notice how the table of contents on the right 18 +* is automatically updated 19 +* to hold this page's headers 16 16 17 - Tocreate a client, youwill need the client IDandclient secret you obtained when registeringthe client.21 += Who has access? = 18 18 19 -The Authority is "[[https:~~/~~/iam.ebrains.eu/auth/realms/hbp>>https://iam.ebrains.eu/auth/realms/hbp]]. 20 - 21 - 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}} 23 +Describe the audience of this collab. 28 28 ))) 29 29 26 + 30 30 (% class="col-xs-12 col-sm-4" %) 31 31 ((( 32 32 {{box title="**Contents**"}} ... ... @@ -33,9 +33,6 @@ 33 33 {{toc/}} 34 34 {{/box}} 35 35 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}} 33 + 40 40 ))) 41 41 )))