code: def get_authorize_url(self, state, scope='identity', refreshable=False):
          
          params = {'client_id': self.client_id, 'response_type': 'code',
                    'redirect_uri': self.redirect_uri, 'state': state,
                    'scope': _to_reddit_list(scope)}
          params['duration'] = 'permanent' if refreshable else 'temporary'
          request = Request('GET', self.config['authorize'], params=params)
          return request.prepare().url
docs: Return the URL to send the user to for OAuth2 authorization.
  
          :param state: a unique string of your choice that represents this
              individual client
          :param scope: the reddit scope to ask permissions for. Multiple scopes
              can be enabled by passing in a container of strings.
          :param refreshable: when True, a permanent "refreshable" token is
              issued