docstr: redirect to cloud login form
docstr_tok: ["redirect","to","cloud","login","form"]
code: def get(self):
      """redirect to cloud login form"""
      location = request.args.get("location")
      config = Config()
  
      aws_meta_data = config["aws_meta_data"]
      public_hostname = aws_meta_data["public-hostname"]
      auth_server = config["auth"]["oauth"]["server_host"]
  
      if location == "cloud_home":
          redirect_uri = (
              f"https://{public_hostname}/api/auth/callback/cloud_home"
          )
      else:
          redirect_uri = f"https://{public_hostname}/api/auth/callback"
  
      args = urllib.parse.urlencode(
          {
              "client_id": config["auth"]["oauth"]["client_id"],
              "scope": "openid profile aws_marketplace",
              "response_type": "code",
              "nonce": secrets.token_urlsafe(),
              "redirect_uri": redirect_uri,
          }
      )
      return redirect(f"https://{auth_server}/auth/authorize?{args}")
  
file_path: mindsdb/mindsdb/api/http/namespaces/auth.py
imports: import base64
  import secrets
  import time
  import urllib
  import requests
  from flask import redirect, request, session, url_for
  from flask_restx import Resource
  from mindsdb.api.http.namespaces.configs.auth import ns_conf
  from mindsdb.utilities.config import Config
  from mindsdb.utilities import log
label_desc: Use image node_id 1 for calling the CloudLoginRoute obj's underlying member method code with example usage: obj.get() and returns: redirect