{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/21"},{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content/3"}],"enrichment":{"capability":"Integrates AWS Cognito user authentication into Flask applications, handling sign-in redirects, token retrieval, and request-level claim validation.","skillfed_tags":["authentication","aws-cognito","abandoned"],"use_cases":["Protect Flask routes with AWS Cognito user authentication without building OAuth redirect flow logic from scratch.","Extract and validate JWT claims from Cognito tokens to authorize requests based on user attributes.","Implement sign-in redirects and token exchange callbacks in a Flask app backed by a Cognito user pool.","Add role or group-based access control by inspecting Cognito claims in protected route handlers."],"what_it_does":"Flask-AWSCognito is a Flask extension that wraps AWS Cognito authentication into decorators and helper methods. It handles the OAuth redirect flow with Cognito, retrieves and validates access tokens, and exposes user claims to route handlers. The package depends on Flask, python-jose for JWT validation, and requests for HTTP calls to Cognito endpoints.\n\nThe extension is configured via Flask's app.config with your Cognito domain, user pool ID, and client credentials. Routes are protected with the @authentication_required decorator, which enforces that a valid token is present before the handler runs. Claims are then available as aws_auth.claims or via Flask's g object. However, the package has been abandoned since its last commit on 2021-04-29 and will not track changes to Flask, AWS Cognito's token formats, or its dependencies.","worth_installing":"No. The package is abandoned (last commit 2021-04-29) and will not receive updates for new Flask versions, modern dependency versions, or changes to AWS Cognito's token formats. For new projects, use a maintained alternative. For existing projects still on older Flask versions with frozen dependencies, it may work, but you assume all maintenance risk."},"id":"flask-awscognito","links":{"html":"https://skillfed.io/packages/flask-awscognito","md":"https://skillfed.io/packages/flask-awscognito.md","pypi":"https://pypi.org/project/flask-awscognito/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2019-12-16","license_spdx":null,"license_treatment":"permissive","name":"Flask-AWSCognito","python_support":"supports_current","summary":"Authenticate users with AWS Cognito"},"popularity":{"monthly_downloads":80526,"position":14287,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.3"}
