dpgaspar/Flask-AppBuilder

Support Personal Access Tokens in addition to AUTH_TYPE

shohamyamin opened this issue · 1 comments

Hi, is it possible to support access token in addition to oauth/oidc authentication.

so that other applications can communicate with the API of the FAB application.

I am dealing this issue when I want to use datahub to ingest metadata from Superset that is built with FAB and the only way for now is when superset is configured with DB_AUTH or LDAP_AUTH but not OAUTH/OIDC.

If FAB will have access token in regardless of the authentication type this will open new ways to communicate with FAB applications API.

what do you think?

Would be a nice improvement, but you can use OAuth and make authenticated requests to the REST API (ModelRestApi) using DB Auth, you can add a "user" that could be username=access_key and password=secret.