Skip to content

allow for different configurations based on framework choice of calling application #2

@jeanetteclark

Description

@jeanetteclark

currently registering the OAuth client is specific to the authlib flask integration.

    oauth.register(
        name="vegbank_oidc",
        client_id=secrets.get("client_id"),
        client_secret=secrets.get("client_secret"),
        server_metadata_url=secrets.get("server_metadata_url"),
        client_kwargs={"scope": scope_request},
    )

We should allow for multiple integrations so that the calling application can use whatever API framework they want.

At a minimum we need to add FastAPI to support ogdc-runner, and continue support of Flask for vegbank

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions