flask-security Questions

4

Solved

I have a large database built and populated with sqlalchemy (the original - not flask-SQLAlachemy). I would like to add flask-security to the site, and I realize it relies on flask-SQLAlachemy (ins...
Glider asked 23/7, 2015 at 5:6

3

Solved

I want to do some customization when a user logs in. The problem is that the project is using flask-security which implicitly handles user login. I want to check some records of users in the databa...
Monovalent asked 4/7, 2017 at 9:45

3

Solved

I'm trying to utlise the standard basic example in the docs for Flask-Security and have made it work except for the password being stored in plaintext. I know this line: user_datastore.create_use...
Kneepad asked 5/9, 2018 at 17:59

1

Solved

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 l...
Houseraising asked 12/3, 2022 at 16:5

4

Solved

I wanted to have the field in User model that through it the user logs in as username instead of email I defined: app.config['SECURITY_USER_IDENTITY_ATTRIBUTES'] = 'username' But I'm still gettin...
Nicker asked 14/6, 2015 at 9:13

3

Solved

I want to use keycloak to authenticate my users in our Superset environment. Superset is using flask-openid, as implemented in flask-security: http://flask-appbuilder.readthedocs.io/en/latest/_m...

5

Solved

I am using Flask-Security to set up user authentication for my app but I am struggling with getting the email address or ID of the currently logged in user so I can query a table with that particul...
Dallas asked 13/10, 2017 at 6:29

2

Solved

I'm currently working my way through Web development with flask. I want to build a webapp with flask as backend and angular.js at the frontend. The Json part is straight forward, and my first steps...
Quintie asked 7/2, 2014 at 18:1

1

I am building a Flask-based REST API and using Flask-JWT to handle JWT auth. I also want to use the built in roles management with Flask-Security. However, Flask-Security's @roles_required() decora...
Corset asked 8/11, 2015 at 17:58

3

Solved

Flask-Security takes a lot of the grunt work out of authentication and authorization for Python Flask web application development. I've run into one snag, though. On the login page, messages are f...
Raff asked 17/4, 2014 at 14:34

2

This question is related to: Unique Salt per User using Flask-Security, but I'm more concerned with removing this error message. The linked question established that flask-security uses per-user s...
Regarding asked 5/10, 2018 at 9:39

4

Solved

I'm developing a Flask application and using Flask-security for user authentication (which in turn uses Flask-login underneath). I have a route which requires authentication, /user. I'm trying to ...
Weaken asked 2/2, 2014 at 2:27

2

Solved

I'm writing the sign up/sign in system for a ecommerce site, and using flask-security (http://pythonhosted.org/Flask-Security/) to handle the signup feature. Part of the basic setup requires the fo...
Crin asked 4/12, 2013 at 16:48

3

Has anyone used Flask-Security extension for authentication? How do I get register view to work? http://packages.python.org/Flask-Security/customizing.html I am referring to link above. @app.r...
Noheminoil asked 10/2, 2013 at 0:5

2

I'm working on a site where the users login via OAuth, not a password-based system. Because of this, Flask-Security's default login page doesn't actually work for my use case, because I need the /...
Percolate asked 5/5, 2016 at 22:16

1

Solved

Is there some convenient way to override register view in Flask-Security? I'm pretty happy with the built-in view for registration, but I need it to be accessible only after authentication and by c...
Obsequent asked 12/6, 2018 at 15:6

4

Solved

I'm looking to secure Web API made using Flask and integrated with flask-admin to provide an admin interface. I searched and found that flask-admin has an admin panel at /admin and by default anyon...
Yasmin asked 27/6, 2015 at 17:44

2

Using the example code provided by Flask-Security, I can access the login_user.html form from the /login route normally and that works just fine. However, I would like to embed the login form on al...
Obannon asked 15/11, 2017 at 21:39

2

Solved

I am received a warning every time I use Flask Security. FlaskWTFDeprecationWarning: "flask_wtf.Form" has been renamed to "FlaskForm" and will be removed in 1.0. Is this an issue with Flask Sec...
Coad asked 29/9, 2016 at 23:42

1

I'm using flask security to authenticate users. I've made sure the authentication works properly with the http_auth_required decorator - the user is being validated against the userstore (an SQLAlc...
Anaxagoras asked 12/9, 2016 at 11:40

1

I want to use flask-security. I'm using a template flask app which creates global objects for extensions, and then initialises them when the app is created. e.g. in extensions.py there is code like...
Leonaleonanie asked 31/1, 2017 at 20:44

1

Solved

I was looking at the flask-security api and i dont see any function that returns the list of roles a specific User has. Is there anyway to return a list of Roles a user has?
Rhodesia asked 16/9, 2016 at 3:35

3

I am currently looking for a way to secure a REST API using token based authentication. I am developing the API in Python using Flask and have discovered the flask-security extension which seems to...
Snashall asked 8/12, 2014 at 11:22

1

Solved

I have Users and Roles in my Flask app thanks to Flask-Security. For some roles I would like to hide certain fields in the forms created by Flask-Admin. I know about customizing ModelViews with e...
Slash asked 30/5, 2016 at 20:5

5

I have a flask app that serves as REST API backend. I would like to implement token based authentication for the backend but in order to do that I need to retrieve the user token. Flask-Security do...
Acrogen asked 26/8, 2013 at 3:19

© 2022 - 2024 — McMap. All rights reserved.