An open API service indexing awesome lists of open source software.

https://github.com/dzooli/gh-auth

Github authentication with OIDC
https://github.com/dzooli/gh-auth

Last synced: 3 months ago
JSON representation

Github authentication with OIDC

Awesome Lists containing this project

README

          

# Description

Example for 'Authentication with Github as identity provider' using Flask framework.

# Installation

- Create a virtualenv
- Activate the virtualenv
- ```bash
pip install -r requirements.txt
```

# Usage

- Create your OAuth application on your github account in [Github Settings](https://github.com/settings/developers)
- ```bash
export GH_CLIENT_ID=
export GH_CLIENT_SECRET=
cd src
python main.py
```
- Go to [the application](http://127.0.0.1:8000/login) login page.

# License

MIT