@fxusyd:
roles_response = requests.get(f'{xnat_url}/xapi/users/{username}/roles', auth=(username, password))
Above is why the openid user won’t authenticate again after user log out of the notebook
When the notebook refresh, XNATAuthenticator is called.
Therefore, it won’t work for openid user
@fxusyd:
roles_response = requests.get(f'{xnat_url}/xapi/users/{username}/roles', auth=(username, password))
Above is why the openid user won’t authenticate again after user log out of the notebook
When the notebook refresh, XNATAuthenticator is called.
Therefore, it won’t work for openid user