All Projects → oliverSI → Flask Restful Authentication

oliverSI / Flask Restful Authentication

Licence: gpl-3.0
An example for RESTful authentication using nginx, uWSGI, Flask, MongoDB and JSON Web Token(JWT).

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Flask Restful Authentication

Spark Pac4j
Security library for Sparkjava: OAuth, CAS, SAML, OpenID Connect, LDAP, JWT...
Stars: ✭ 154 (+144.44%)
Mutual labels:  mongodb, authentication, jwt
Appkernel
API development made easy: a smart Python 3 API framework
Stars: ✭ 152 (+141.27%)
Mutual labels:  rest-api, mongodb, flask
Spring Security Pac4j
pac4j security library for Spring Security: OAuth, CAS, SAML, OpenID Connect, LDAP, JWT...
Stars: ✭ 231 (+266.67%)
Mutual labels:  mongodb, authentication, jwt
Mern Boilerplate
Fullstack boilerplate with React, Redux, Express, Mongoose, Passport Local, JWT, Facebook and Google OAuth out of the box.
Stars: ✭ 112 (+77.78%)
Mutual labels:  mongodb, authentication, jwt
Buji Pac4j
pac4j security library for Shiro: OAuth, CAS, SAML, OpenID Connect, LDAP, JWT...
Stars: ✭ 444 (+604.76%)
Mutual labels:  mongodb, authentication, jwt
Express Mongodb Rest Api Boilerplate
A boilerplate for Node.js apps / Rest API / Authentication from scratch - express, mongodb (mongoose).
Stars: ✭ 153 (+142.86%)
Mutual labels:  mongodb, authentication, jwt
Go Clean Architecture
👨‍💻 REST API example, built by following Uncle Bob’s clean architecture principles
Stars: ✭ 133 (+111.11%)
Mutual labels:  rest-api, mongodb, jwt
Shorty
🔗 A URL shortening service built using Flask and MySQL
Stars: ✭ 78 (+23.81%)
Mutual labels:  flask, uwsgi, nginx
Play Pac4j
Security library for Play framework 2 in Java and Scala: OAuth, CAS, SAML, OpenID Connect, LDAP, JWT...
Stars: ✭ 375 (+495.24%)
Mutual labels:  mongodb, authentication, jwt
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. Demo (login with guest/welcome) - http://flaskappbuilder.pythonanywhere.com/
Stars: ✭ 3,603 (+5619.05%)
Mutual labels:  rest-api, flask, authentication
Spring Webmvc Pac4j
Security library for Spring Web MVC: OAuth, CAS, SAML, OpenID Connect, LDAP, JWT...
Stars: ✭ 110 (+74.6%)
Mutual labels:  mongodb, authentication, jwt
Dj Rest Auth
Authentication for Django Rest Framework
Stars: ✭ 491 (+679.37%)
Mutual labels:  rest-api, authentication, jwt
Uwsgi Nginx Flask Docker
Docker image with uWSGI and Nginx for Flask applications in Python running in a single container. Optionally with Alpine Linux.
Stars: ✭ 2,607 (+4038.1%)
Mutual labels:  flask, uwsgi, nginx
Todo List Using Flask And Mongodb
Simple implementation of ToDo List using Flask and MongoDB along with Dockerfile and Kubernetes yaml files #Flask #Example #Docker #Kubernetes #k8s
Stars: ✭ 61 (-3.17%)
Mutual labels:  rest-api, mongodb, flask
Pyblog
Pyblog 是一个简单易用的在线 Markdown 博客系统,它使用 Python 的 flask 架构,理论上支持所有 flask-sqlalchemy 所能支持的数据库。 编辑器使用的是 editor.md。当前版本(v2.0)支持且仅支持 python3! Python 的 Markdown to HTML 编译器使用的是 Mistune! Just so!
Stars: ✭ 113 (+79.37%)
Mutual labels:  flask, uwsgi, nginx
Ngx Api Utils
ngx-api-utils is a lean library of utilities and helpers to quickly integrate any HTTP API (REST, Ajax, and any other) with Angular.
Stars: ✭ 92 (+46.03%)
Mutual labels:  rest-api, authentication, jwt
Vouch Proxy
an SSO and OAuth / OIDC login solution for Nginx using the auth_request module
Stars: ✭ 1,239 (+1866.67%)
Mutual labels:  authentication, jwt, nginx
Securing Restful Apis With Jwt
How to secure a Nodejs RESTful CRUD API using JSON web tokens?
Stars: ✭ 301 (+377.78%)
Mutual labels:  mongodb, authentication, jwt
Cerberus
A demonstration of a completely stateless and RESTful token-based authorization system using JSON Web Tokens (JWT) and Spring Security.
Stars: ✭ 482 (+665.08%)
Mutual labels:  rest-api, authentication, jwt
Antvueblogfront
🔥使用Vue全家桶 + Egg + Mongodb 写的个人网站博客。使用docker compose 一键部署。(最近比较忙,部署还有点问题,后期补上)
Stars: ✭ 36 (-42.86%)
Mutual labels:  mongodb, jwt, nginx

flask-restful-authentication

An example for RESTful authentication using nginx, uWSGI, Flask, MongoDB and JSON Web Token(JWT).

Quick Start

  1. Clone the repository with the following command.
git clone https://github.com/oliverSI/flask-restful-authentication.git
  1. Set environment variable for the email configuration.
export EMAIL_SERVER=[EMAIL_SERVER]
export EMAIL_USERNAME=[EMAIL_USERNAME]
export EMAIL_PASSWORD=[EMAIL_PASSWORD]
  1. Run containers with the following command.
docker-compose up -d

Calling API

Register

curl -X POST -H "Content-Type: application/json" -d '{"email": "[email protected]", "password": "password"}' http://127.0.0.1/v1/register

Activation

curl -X PUT -H "Content-Type: application/json" -d '{"activation_code": "activation code you received"}’ http://127.0.0.1/v1/activate

Login

curl -X GET -H "Content-Type: application/json" -d '{"email": “[email protected]", "password": "password"}’ http://127.0.0.1/v1/login

Do something

curl -H "Authorization: Bearer [token you got]" -H "Content-Type: application/json" http://127.0.0.1/v1/todo
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].