acheong08 / OpenAIAuth

Reverse engineered Auth0 for OpenAI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use?

huluohu opened this issue · comments

hi

I want to know how to use this library,can you tell me?

thanks.

Here

from OpenAIAuth import Authenticator


if __name__ == '__main__':
  auth = Authenticator(email_address="email@qq.com", password="password", proxy="http://host:port")
  auth.begin()
  print(auth.get_access_token())

Here

from OpenAIAuth import Authenticator


if __name__ == '__main__':
  auth = Authenticator(email_address="email@qq.com", password="password", proxy="http://host:port")
  auth.begin()
  print(auth.get_access_token())

ok, thank you.

Here

from OpenAIAuth import Authenticator


if __name__ == '__main__':
  auth = Authenticator(email_address="email@qq.com", password="password", proxy="http://host:port")
  auth.begin()
  print(auth.get_access_token())

ok, thank you.

it's work .