code: def authorize_url(self):
          
          auth_url = OAUTH_ROOT + '/authorize'
          params = {
              'client_id': self.client_id,
              'redirect_uri': self.redirect_uri,
          }
          return "{}?{}".format(auth_url, urlencode(params))
docs: Return a URL to redirect the user to for OAuth authentication.