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
currently registering the OAuth client is specific to the
authlibflask integration.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 forvegbank