All Projects → cgauge → Flask-AWSCognito

cgauge / Flask-AWSCognito

Licence: MIT license
Extension for Flask that adds support for AWSCognito into your application

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Flask-AWSCognito

aws-cognito-next
Authentication helpers for AWS Cognito in next.js
Stars: ✭ 64 (+156%)
Mutual labels:  aws-cognito
Insomnia Plugin Aws Cognito Token
Insomnia plugin for AWS Cognito
Stars: ✭ 33 (+32%)
Mutual labels:  aws-cognito
Auth Api Demo
Securing Microservices on AWS with Cognito, API Gateway and Lambda Demo
Stars: ✭ 140 (+460%)
Mutual labels:  aws-cognito
golang-cognito-example
Golang example of using AWS Cognito APIs (Register, Login, Verify Phone, Refresh token)
Stars: ✭ 74 (+196%)
Mutual labels:  aws-cognito
Serverless Aws Cognito Login
Simple example project with instructions how to implement serverless login using AWS Cognito.
Stars: ✭ 26 (+4%)
Mutual labels:  aws-cognito
Vyapi
VyAPI - A cloud based vulnerable hybrid Android App
Stars: ✭ 75 (+200%)
Mutual labels:  aws-cognito
aws-amplify-react-custom-ui
Building a Custom UI Authentication For AWS Amplify
Stars: ✭ 21 (-16%)
Mutual labels:  aws-cognito
Cognito Express
Authenticates API requests on a Node application by verifying the JWT signature of AccessToken or IDToken generated by Amazon Cognito.
Stars: ✭ 165 (+560%)
Mutual labels:  aws-cognito
Amazon Cognito Identity Js
Amazon Cognito Identity SDK for JavaScript
Stars: ✭ 965 (+3760%)
Mutual labels:  aws-cognito
Reactjs Cognito Starter
Starter project for ReactJS + Amazon Cognito + Amazon Amplify Framework with AWS CDK support
Stars: ✭ 137 (+448%)
Mutual labels:  aws-cognito
Warrant
Python library for using AWS Cognito. With support for SRP.
Stars: ✭ 384 (+1436%)
Mutual labels:  aws-cognito
Aws Serverless Auth Reference App
Serverless reference app and backend API, showcasing authentication and authorization patterns using Amazon Cognito, Amazon API Gateway, AWS Lambda, and AWS IAM.
Stars: ✭ 724 (+2796%)
Mutual labels:  aws-cognito
Reactnativeauth
Mobile user authentication flow with React Native, Expo, and AWS Amplify: Sign In, Sign Up, Confirm Sign Up, Forget Password, Reset Password.
Stars: ✭ 108 (+332%)
Mutual labels:  aws-cognito
cognito-idp
Lightweight AWS Cognito Identity Provider client for Kotlin Multiplatform and Typescript projects.
Stars: ✭ 14 (-44%)
Mutual labels:  aws-cognito
Cognito Backup Restore
AIO Tool for backing up and restoring AWS Cognito User Pools
Stars: ✭ 142 (+468%)
Mutual labels:  aws-cognito
soto-cognito-authentication-kit
Authenticating with AWS Cognito
Stars: ✭ 20 (-20%)
Mutual labels:  aws-cognito
Amplify Js
A declarative JavaScript library for application development using cloud services.
Stars: ✭ 8,539 (+34056%)
Mutual labels:  aws-cognito
Supertokens Core
Open source alternative to Auth0 / Firebase Auth / AWS Cognito
Stars: ✭ 2,907 (+11528%)
Mutual labels:  aws-cognito
Awsmobile Cli
CLI experience for Frontend developers in the JavaScript ecosystem.
Stars: ✭ 147 (+488%)
Mutual labels:  aws-cognito
React Native Aws Cognito Js
React Native AWS Cognito JS SDK
Stars: ✭ 134 (+436%)
Mutual labels:  aws-cognito

Build Status Documentation Status

AWS Cognito for authentication in Flask

Documentation https://flask-awscognito.readthedocs.io

Maintainer(s) Needed

This project is in search for new maintainer(s). Please see Issue #13 for details.

Example App

from flask import Flask, redirect, request, jsonify
from flask_awscognito import AWSCognitoAuthentication
app = Flask(__name__)

app.config['AWS_DEFAULT_REGION'] = 'eu-west-1'
app.config['AWS_COGNITO_DOMAIN'] = 'domain.com'
app.config['AWS_COGNITO_USER_POOL_ID'] = 'eu-west-1_XXX'
app.config['AWS_COGNITO_USER_POOL_CLIENT_ID'] = 'YYY'
app.config['AWS_COGNITO_USER_POOL_CLIENT_SECRET'] = 'ZZZZ'
app.config['AWS_COGNITO_REDIRECT_URL'] = 'http://localhost:5000/aws_cognito_redirect'


aws_auth = AWSCognitoAuthentication(app)


@app.route('/')
@aws_auth.authentication_required
def index():
    claims = aws_auth.claims # also available through g.cognito_claims
    return jsonify({'claims': claims})


@app.route('/aws_cognito_redirect')
def aws_cognito_redirect():
    access_token = aws_auth.get_access_token(request.args)
    return jsonify({'access_token': access_token})


@app.route('/sign_in')
def sign_in():
    return redirect(aws_auth.get_sign_in_url())


if __name__ == '__main__':
    app.run(debug=True)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].