code: def authorize_url(self, scope='', **kwargs):
          
          self._check_configuration("site", "authorization_url", "redirect_uri",
                                    "client_id")
          if isinstance(scope, (list, tuple, set, frozenset)):
              self._check_configuration("scope_sep")
              scope = self.scope_sep.join(scope)
          oauth_params = {
              'redirect_uri': self.redirect_uri,
              'client_id': self.client_id,
              'scope': scope,
          }
          oauth_params.update(kwargs)
          return "%s%s?%s" % (self.site, quote(self.authorization_url),
                              urlencode(oauth_params))
docs: Returns the url to redirect the user to for user consent