docs: def getAllowedReturnURLs(relying_party_url):
      """Given a relying party discovery URL return a list of return_to URLs.
  
      @since: 2.1.0
      """
      (rp_url_after_redirects, return_to_urls) = services.getServiceEndpoints(
          relying_party_url, _extractReturnURL)
  
      if rp_url_after_redirects != relying_party_url:
          # Verification caused a redirect
          raise RealmVerificationRedirected(
              relying_party_url, rp_url_after_redirects)
  
      return return_to_urls