Skip to content

klen/muffin-oauth

Repository files navigation

Muffin-OAuth

Muffin-OAuth -- Support OAuth authentication for Muffin Framework.

Tests Status

PYPI Version

Python Versions

Requirements

  • python >= 3.7

Installation

Muffin-OAuth should be installed using pip: :

pip install muffin-oauth

Usage

Get OAuth Access/Refresh Tokens

See an example application in example.py. Run the example with command: :

$ make example

And open http://localhost:5000 in your browser.

Load resouces with access tokens

# OAuth2
client = oauth.client('github', access_token='...')
resource = await client.request('GET', 'user')

Bug tracker

If you have any suggestions, bug reports or annoyances please report them to the issue tracker at https://github.com/klen/muffin-oauth/issues

Contributing

Development of Muffin-OAuth happens at: https://github.com/klen/muffin-oauth

Contributors

  • klen (Kirill Klenov)

License

Licensed under a MIT license. .. _links: