Skip to content

Support full flow of the OAuth2 Authentication #103

@vishalya

Description

@vishalya

The JWT token authentication is good, but it leaves a decent amount of reusable code outside of the library.
My proposal is to add the full authenticaion support - OAuth2Authentication. The functionality would be similar to the JDBC driver to make the python API orthogonal wrt JDBC api.

  • Add a new Auth class, we can merge it with JWT auth which ever makes sense
  • Perform the OAuth2 based authentication and setup the http_seesion with token
  • I have added a new private authentcate method to the base class, not sure if it could be merged with the set_http_session or any other existing method.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions