Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

SuperTokens banner

FastAPI example

This is an example to show how to use supertokens-python library with FastAPI framework and ThirdpartyEmailpassword recipe.

This server code can be used to implement social auth using:

  • Google
  • Google Workspaces
  • Github
  • Apple
  • Discord

Installation

Before installing, use the script to create a virtual environment and to install all the required packages.

source create_env.sh

Start web app

uvicorn main:app --reload --host=0.0.0.0 --port=3001

Author

Created with ❤️ by the folks at supertokens.com.

License

This project is licensed under the Apache 2.0 license.