Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Django Application

Warning

This repository is generated from content that lives at github.com/FusionAuth/fusionauth-site. Changes to files here will be overwritten by that automation. File an issue or pull request with fusionauth-site instead.

This repo holds an example Python/Django application that uses FusionAuth as the identity provider.

This application was built by following the Python/Django Quickstart.

Project Contents

The docker-compose.yml file and the kickstart directory are used to start and configure a local FusionAuth server.

The /complete-application directory contains a fully working version of the application.

Project Dependencies

Running FusionAuth

To run FusionAuth, just start up the docker containers using docker-compose.

docker-compose up

This will start a PostgreSQL database, and Elastic service, and the FusionAuth server.

Running the Example App

To run the application set up a Python virtual env and install the project dependencies.

cd complete-application && \
python -m venv venv && \
source venv/bin/activate && \
pip install -r requirements.txt && \
python mysite/manage.py runserver

Visit the local webserver at http://localhost:8000/ and sign in using the credentials:

About

Resources

Security policy

Stars

2 stars

Watchers

9 watching

Forks

Releases

Packages

Used by

Contributors

Languages