code: def _oauth2_web_server_flow_params(kwargs):
      
      params = {
          'access_type': 'offline',
          'response_type': 'code',
      }
  
      params.update(kwargs)
  
      # Check for the presence of the deprecated approval_prompt param and
      # warn appropriately.
      approval_prompt = params.get('approval_prompt')
      if approval_prompt is not None:
          logger.warning(
              'The approval_prompt parameter for OAuth2WebServerFlow is '
              'deprecated. Please use the prompt parameter instead.')
  
          if approval_prompt == 'force':
              logger.warning(
                  'approval_prompt="force" has been adjusted to '
                  'prompt="consent"')
              params['prompt'] = 'consent'
              del params['approval_prompt']
  
      return params
docs: Configures redirect URI parameters for OAuth2WebServerFlow.