code: def generate_token():
      """Starts OAuth authorization and returns token
  
      Returns
      --------
      str
      """
      import requests
  
      client_id = "d7d96eec80f68c16954b"
      uuid = str(random.randrange(2 << 63))
      port = get_free_port()
      if port is None:
          raise Exception(
              "Cannot find available port to start authorization server."
          )
      redirect = "https://arena.drwhy.ai/?connector=" + str(port)
      webbrowser.open(
          "https://github.com/login/oauth/authorize?client_id="
          + client_id
          + "&state="
          + uuid
          + "&scope=gist&redirect_uri="
          + redirect
      )
      return start_authorization_server("127.0.0.1", port)
  
file_path: DALEX/python/dalex/dalex/arena/static.py
imports: import json
  import webbrowser
  import random
  import socket
  import logging
  import sys
  from .server import convert
label_desc: Use image node_id 5 for calling a global function with example usage: generate_token() and returns: start_authorization_server