Flask Example OAuth Github - Open-Source Starter

Hello! This article presents an open-source Flask Starter that implements the authentication layer in two flavors: a classic email/password check and Github SignIN via Flask-Dance library. The sources can be downloaded from Github and based on the permissive license, used in commercial projects or eLearning activities. For newcomers, Flask is a leading backend framework used to code from simple, one-page sites to APIs and complex eCommerce solutions.

This free product is built on top of a simple and colorful Bootstrap design that provides a minimum set of pages, dashboard widgets, charts, and user profile pages.


✨ Product Highlights

  • ✅ Modern stack: Flask & Bootstrap UI
  • DB Tools: Flask-Alchemy ORM, Flask-Migrate
  • ✅ Github OAuth via Flask-Dance
  • ✅ Docker Scripts
  • ✅ Free Support (eMail & Discord)

The product can be started in a local environment using the Docker setup shipped with the sources via a single line typed in the terminal.

$ docker-compose up --build  

Once the above command is finished, the app should be up & running in the browser.

Flask Datta Able - SignIN Page (Login Example Github)

✨ OAuth via Github & Twitter

This authentication method is optional and becomes active once the app detects the OAuth secrets in the .env file. For instance, if GITHIB_ID and GITHUB_SECRETS are provided, on the Sign IN page the Github authenticator becomes visible.

👉 Access the LIVE demo and see how it works
Flask Datta Able - Profile Page (Login Example Github)

Flask Datta Able - Dashboard Page (dark-mode active)
Flask Datta Able - Dashboard Widgets (Login Example Github)

Flask Datta Able - Charts Page
Flask Datta Able - Charts Page (Login Example Github)

Thanks for reading! For more resources and support, please access: