Questions tagged [flask-appbuilder]

Simple and rapid application development framework, built on top of Flask. includes detailed security, auto CRUD generation for your models, google charts and much more.

Simple and rapid application development framework, built on top of Flask. includes detailed security, auto CRUD generation for your models, google charts and much more.

https://github.com/dpgaspar/Flask-AppBuilder

157 questions
19
votes
5 answers

How do I disable Airflow login for authentication and authorization?

I have a fork of apache airflow which I want to run behind a proxy server. All the authentication will be already handled outside airflow, thus I don't want the customers to login with another set of credentials again. Is there any way to completely…
Ankit Basarkar
  • 1,239
  • 3
  • 12
  • 13
12
votes
1 answer

How to map LDAP AD Groups to User roles in python flask AppBuilder

I'm currently trying to map automatically user groups in LDAP to user roles in a flask AppBuilder framework based application but can't come up with a solution. I have read through the entire flask AppBuilder documentation and didn't find anything…
Stackgeek
  • 227
  • 1
  • 12
10
votes
1 answer

Using KeyCloak(OpenID Connect) with Apache SuperSet

I started with Using OpenID/Keycloak with Superset and did everything as explained. However, it is an old post, and not everything worked. I'm also trying to implement a custom security manager by installing it as a FAB add-on, so as to implement it…
sj.meyer
  • 835
  • 8
  • 15
6
votes
2 answers

Airflow LDAP authentication with RBAC features

I am trying to enable Airflow LDAP authentication with RBAC features and did the following changes: Removed LDAP section from airflow.cfg Modified airflow.cfg: added rbac = true and removed authentication = True under the [webserver] section …
5
votes
1 answer

How to skip extra 'sign in with' page in Flask App Builder / Airflow

I have started using Apache Airflow (Built upon FAB) and enabled authentication through OAuth (as shown in FAB Security). I have ONLY one OAUTH_PROVIDER (azure). FYI, Airflow version 2.1.4 When I launch my airflow home page, it used to open the…
techrhl
  • 434
  • 8
  • 19
4
votes
0 answers

Adding autocomplete dropdown field to flask application builder viewmodel

Using flask app builder, a ModelRestApi was registered and responds when browsed to. I would like to use this API to populate an AjaxSelectField, which uses the Select2AJAXWidget to add autocomplete and search functionality. I created a model with a…
dirtyw0lf
  • 1,899
  • 5
  • 35
  • 63
4
votes
0 answers

How to combine Flask REST API and Flask Web App?

I am trying to combine api with app, but I have problems with POST. I am able to do GET, when I try to POST 'item' using Web App GUI I receive: Method Not Allowed The method is not allowed for the requested URL. Main section api.add_resource(Item,…
Raknar
  • 41
  • 1
4
votes
1 answer

Flask how to make a field read-only via appbuilder

what do i replace Text Field with, I know i replace field2 with my field that i'm trying to make readonly. im getting : NameError: name *'TextField' is not defined* Define/override readonly fields like this, first define a new Readonly field: from…
Theo
  • 71
  • 8
4
votes
2 answers

How does REMOTE_USER Authentication Type works in apache superset?

I've been trying to authenticate with my Login Rest API instead of Other types. How to achieve this? Is REMOTE_USER authentication is the right way to do it? If so, can I get a sample code or documentation on this? Read the docs here but couldn't…
Femil Shajin
  • 1,768
  • 6
  • 24
  • 38
4
votes
1 answer

Flask-Appbuilder change the default landing page based on user

I am using Flask App builder to make a basic webpage. I want to change the default landing page based on the user logged in e.g. user1 should be redirected to /home/user1 page and user2 should login to /home/general page etc after they logged…
Linus
  • 825
  • 4
  • 20
  • 33
3
votes
1 answer

Why an error occurs on apache superset "An error occurred while fetching table metadata/removing the table schema. Plscontact your administrator"?

I assigned the Gamma and Sqllab roles to users and granted schema and database access permissions to the Gamma role for specific tables. SQL queries can be executed in Sql Lab without any issues. However, when attempting to select or remove tables…
3
votes
1 answer

Add a new API endpoint with Flask AppBuilder in Superset (through Flask Blueprints)

I am using Superset 2.0.0 and I saw that it was possible to extend the API (i.e. add new endpoints using Flask Blueprints). I can add a simple endpoint with the code: # superset_config.py from greeting import greeting BLUEPRINTS = [greeting] #…
Nicolaz
  • 149
  • 1
  • 8
3
votes
1 answer

AWS Cognito OAuth configuration for Flask Appbuilder

I am setting up RBAC with Airflow, and testing locally to start. I have provisioned an AWS Cognito User Group via the console. Additionally, I have a webserver_config.py file I have mounted to my Airflow docker container to set up OAuth with…
3
votes
0 answers

Flask Appbuilder Run Error: "IndexError: list index out of range"

My views.py and models.py are as below: views.py: import calendar from flask_appbuilder import ModelView from flask_appbuilder.models.sqla.interface import SQLAInterface from flask_appbuilder.charts.views import GroupByChartView from…
dlwlrma
  • 808
  • 2
  • 10
  • 21
3
votes
1 answer

Decorator for SecurityManager in flask appbuilder for superest

I'm trying to add a custom user information retrieval from OAuth in superset, which is build on top of flask-appbuilder. Official doc provides following information: Decorate your method with the SecurityManager oauth_user_info_getter decorator.…
Sayat Satybald
  • 6,300
  • 5
  • 35
  • 52
1
2 3
10 11