Skip to content

Latest commit

 

History

History
98 lines (59 loc) · 1.24 KB

README.md

File metadata and controls

98 lines (59 loc) · 1.24 KB

OIDC Oauth2 authentication using Django and mozilla-django-oidc with Okta

Tutorial 1: How to implement OIDC authentication with Django and Okta

Tutorial 2: Customizing mozilla-django-oidc

How to set up the project

Features

  • python 3.10
  • poetry as dependency manager

PROJECT SETUP

  • clone the repository
git clone https://github.com/Hesbon5600/oidc-connect.git
  • cd into the directory
cd oidc-connect

create environment variables

On Unix or MacOS, run:

cp .env.example .env

You can edit whatever values you like in there.

Note: There is no space next to '='

On terminal

source .env

VIRTUAL ENVIRONMENT


To Create:

make env

To Activate:

source ./env/bin/activate

Installing dependencies:

make install

MIGRATIONS - DATABASE


Make migrations

make makemigrations

THE APPLICATION


run application

make run