Skip to content

Update auth lib

Aleksandra Wardzinska requested to merge update_auth_lib into master

Closing https://gitlab.cern.ch/webservices/authz-api-client/-/issues/1

Changed the library used for interaction with Authz API, instead of PyJWT we use Authlib, which provides more complete set of functions and is easier to use (less code).

This library is also used in the webservices-portal project.

Also moved the 'TARGET_API' into the api_token.py, as this doesn't need to be exposed higher up (all calls are made to the Authorization API).

Merge request reports