Authenticate against OAuth2 Provider in Python CLIs
Project description
oauth2-cli-auth
Authenticate against OAuth2 Provider in Python CLIs
Features
- Simple
- Fancy callback page
Requirements
- Python 3.9+
Installation
pip install oauth2-cli-auth
Usage
See example.py
Motivation
Building oauth2 integration for Python apps come quite handy, especially with Gitlab integration etc.
It is a bit cumbersome to do it manually everytime, existing solutions are way to overkill to put on this problem. So I created this small library without any dependencies besides the python standard library.
Documentation
TBD
Contributing
I love your input! I want to make contributing to this project as easy and transparent as possible, whether it's:
- Reporting a bug
- Discussing the current state of the configuration
- Submitting a fix
- Proposing new features
- Becoming a maintainer
To get started please read the Contribution Guidelines.
Development
Requirements
- Python 3.9+
- pre-commit
- Poetry
Test
TBD
Build
poetry install
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
oauth2_cli_auth-1.0.0.tar.gz
(10.3 kB
view hashes)
Built Distribution
Close
Hashes for oauth2_cli_auth-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16a92836d21530207f6b9fdfd2b6ac25eba2bccd244765a5b777ea4effcbe676 |
|
MD5 | 51c34c8d0b2f7d77595bc7f7ef1a1701 |
|
BLAKE2b-256 | 8fdbcdeacf433f4be44360efaf45d7887f9a7fdd5c5053eae9feacadd86423c6 |