Skip to content

khavin/OAuth-2.0-Implementation

Repository files navigation

OAuth-2.0-Implementation

Installation instructions

Install Python version 3.8.10 from python.org
Install MongoDB version 6.0.5 from https://www.mongodb.com
Next, install the required python libraries.

pip install -r /path/to/requirements.txt

Setup MongoDB

Start the mongodb service on your system.

Create a db named 'resourceServerDB'

use resourceServerDB

Start all the services

Start the client server backend service

uvicorn main:app --reload --port 8080

Start the client server frontend service

uvicorn main:app --reload --port 7000

Start the authorization server backend service

uvicorn main:app --reload --port 8000

Start the authorization server frontend service

uvicorn main:app --reload --port 7001

Start the resource server backend service

uvicorn main:app --reload --port 8090

If you would like to the services on a different port, then make the changes in code accordingly.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published