code: def redirect_to(self, url=None, parameters={}):
          
          if url is None and 'RelayState' in self.__request_data['get_data']:
              url = self.__request_data['get_data']['RelayState']
          return OneLogin_Saml2_Utils.redirect(url, parameters, request_data=self.__request_data)
docs: Redirects the user to the URL passed by parameter or to the URL that we defined in our SSO Request.
  
          :param url: The target URL to redirect the user
          :type url: string
          :param parameters: Extra parameters to be passed as part of the URL
          :type parameters: dict
  
          :returns: Redirection URL