No Description

Arpit Singh cd9abea008 Added REST APIS Get access_token AND refresh_token 5 years ago
SampleApp cd9abea008 Added REST APIS Get access_token AND refresh_token 5 years ago
templates e035a958e2 WIP consumer and openid client api 5 years ago
testOpenId cd9abea008 Added REST APIS Get access_token AND refresh_token 5 years ago
.gitignore 410797601c Inital Commit Django Sample App 5 years ago
README.md 35bb25e886 Added README file 5 years ago
manage.py 410797601c Inital Commit Django Sample App 5 years ago
requirements.txt ad9f270754 Added requirements.txt 5 years ago

README.md

Sample App Project

This is a Django Sample app for client of OpenId server.

Setup & Running

Manually

Setup project environment with virtualenv and pip.

$ virtualenv -p /usr/bin/python3 project_env

$ source project_env/bin/activate

$ git clone https://gogs.earthsquad.global/evolverarpit/Dajngo_sample_app.git
$ cd Dajngo_sample_app
$ pip install -r requirements.txt

Start Application.

$ python manage.py migrate
$ python manage.py createsuperuser
$ python manage.py runserver 8005

Open your browser and go to http://localhost:8005. Voilà!

Configre Client Application

  • In setting add following values. -- OpenID_SERVER -- OpenID_CLIENT_ID -- OpenID_CLIENT_SECRET