Fix the library to use properly sso or access_token