Skip to content

Flask-Middleware/flask-security

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

Previously POST_LOGIN_VIEW was used as a successful authentication redirect - SPA redirects need to be unique and separate so when using SPA and forms things don't get really confusing. A new configuration POST_OAUTH_LOGIN_VIEW was added.

Add code to oauthstart to return/redirect if caller already authenticated.

Improve documentation around the SPA redirects that have to be defined.

closes #884
2e98833

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
November 20, 2023 10:46
December 28, 2023 12:51
December 28, 2023 12:51
December 28, 2023 12:51
December 28, 2023 12:51
December 15, 2016 14:39
December 28, 2023 12:51
November 20, 2023 10:46

Flask-Security

https://github.com/Flask-Middleware/flask-security/workflows/tests/badge.svg?branch=master&event=push Coverage! Downloads License Documentation Status pre-commit

Quickly add security features to your Flask application.

Notes on this repo

This is a independently maintained version of Flask-Security based on the 3.0.0 version of the Original

Goals

  • Regain momentum for this critical piece of the Flask eco-system. To that end the the plan is to put out small, frequent releases starting with pulling the simplest and most obvious changes that have already been vetted in the upstream version, as well as other pull requests. This was completed with the June 29 2019 3.2.0 release.
  • Continue work to get Flask-Security to be usable from Single Page Applications, such as those built with Vue and Angular, that have no html forms. This is true as of the 3.3.0 release.
  • Use OWASP to guide best practice and default configurations.
  • Be more opinionated and 'batteries' included by reducing reliance on abandoned projects and bundling in support for common use cases.
  • Follow the Pallets lead on supported versions, documentation standards and any other guidelines for extensions that they come up with.
  • Continue to add newer authentication/authorization standards:
    • 'Social Auth' integrated (using authlib) (5.1)
    • WebAuthn support (5.0)
    • Two-Factor recovery codes (5.0)
    • First-class support for username as identity (4.1)
    • Support for fresheness decorator to ensure sensitive operations have new authentication (4.0)
    • Support for email normalization and validation (4.0)
    • Unified signin (username, phone, passwordless) feature (3.4)

Contributing

Issues and pull requests are welcome. Other maintainers are also welcome. Unlike the original Flask-Security - issue pull requests against the master branch. Please consult these contributing guidelines.

Installing

Install and update using pip:

pip install -U Flask-Security-Too

Resources