Hi Yuri,
I am currently using our own Jupyter notebook installation with OAuth2 module installed, I need to get the OAuth2 token form the nb console as I authenticate, but anyway I have some problem with token expiration.
My question is: how did you implement the function:
get_bbp_client().task.oauth_client.get_auth_header()
I try to install it but it’s not found
!pip3 install --upgrade pyunicore
!pip3 install --upgrade “hbp-service-client==1.1.0”
8 hdr = get_bbp_client().task.oauth_client.get_auth_header()
NameError: name ‘get_bbp_client’ is not defined
So how can I do to get the OAuth2 token, did you implement some function somewhere in the collab? how is this implemented?
thanks in advance for any help
Cheers,
Michele