Attention: The Keycloak upgrade has been completed. As this was a major upgrade, there may be some unexpected issues occurring. Please report any issues you find to support by using the contact form found at https://www.ebrains.eu/contact/. Thank you for your patience and understanding. 


Collaboratory Python Tools

Version 17.1 by allan on 2022/03/22 18:10

clb-py-tools

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.

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.

To create a client, you will need the client ID and client secret you obtained when registering the client.

The Authority is "https://iam.ebrains.eu/auth/realms/hbp.

from clb_py_tools.iam.client import Client
authority = "https://iam.ebrains.eu/auth/realms/hbp"
Client(authority, client_id, client_secret)