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
- Host: GitHub
- URL: https://github.com/dzooli/gh-auth
- Owner: dzooli
- License: mit
- Created: 2022-11-29T10:35:18.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-29T11:45:47.000Z (almost 3 years ago)
- Last Synced: 2025-05-31T10:30:33.679Z (5 months ago)
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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