Attention: Due to an upgrade beginning on Friday, the 22nd August 2025, any new collabs, groups and any changes to teams will not be kept beyond the weekend. User creation will also be disabled during this time. The actual upgrade will take place on Wednesday, 27th August. On that day, any service requiring a Keycloak login will be unavailable for the duration of the upgrade. Thank you for your understanding as we complete this important work.

For the duration of the maintenance period, Collaboration and Group creation features will be temporarily disabled and will return HTTP 503 Service Unavailable errors until further notice.


Collaboratory Python Tools

Version 13.1 by allan on 2020/07/28 18:05

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)