Skip to content

Support for OAuth2 #16

@buremba

Description

@buremba

Thanks for this great extension! This seems like a great "extension interface" for high-level programming languages such as Python & Typescript to develop DuckDB extensions.

I was looking into the authentification, and it looks like we need to pass a token as part of the secret. Could this be automated in a way similar to how Gsheets and Motherduck extensions work as follows?

  1. The user runs the following query:
CREATE SECRET airport_hello_world (
      type airport,
      scope 'grpc+tls://server.example.com/'
);
  1. Airport extension asking the Flight server for an external URL to authenticate the user and redirect the user (or asking for auth key to be entered manually) to the redirect_uri. Once the token is generated with, we can generate the bearer token via exchanging tokenand use it to auth the user for subsequent requests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions