From 9a7284d6ea51b12eb81810381f3bd1367512beb2 Mon Sep 17 00:00:00 2001 From: liadomide Date: Tue, 24 May 2022 10:05:30 +0300 Subject: [PATCH] Add missed import of cld_auth --- package.json | 2 +- tvbwidgets/core/auth.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index f534287..4da2433 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tvb-widgets", - "version": "0.2.1", + "version": "0.2.2", "description": "GUI widgets for EBRAINS showcases", "homepage": "https://github.com/the-virtual-brain/tvb-widgets", "license": "GPL-3.0-or-later", diff --git a/tvbwidgets/core/auth.py b/tvbwidgets/core/auth.py index a48c273..12b1f0e 100644 --- a/tvbwidgets/core/auth.py +++ b/tvbwidgets/core/auth.py @@ -15,6 +15,8 @@ def get_current_token(): try: + from clb_nb_utils import oauth as clb_oauth + bearer_token = clb_oauth.get_token() return bearer_token