python-ouraring icon indicating copy to clipboard operation
python-ouraring copied to clipboard

Adding a wrapper to perform easy authentication

Open thisum opened this issue 4 years ago • 2 comments

This Auth wrapper output the access and the refresh tokens by providing the client id and the secret. It uses cherrypy to handle HTTP requests

thisum avatar Feb 20 '20 03:02 thisum

Thanks for the PR! I'll take a closer look when I get a chance.

turing-complet avatar Feb 20 '20 05:02 turing-complet

Looks like travis-ci fails because cherrypy is missing from Pipfile. Anyway, I like your idea but I think it might be simpler to convert token-request.py to a class (same as AuthenticationWrapper) rather than add a new dependency. Happy to merge if you wanna do that, otherwise I may end up doing it anyway.

turing-complet avatar Feb 25 '20 06:02 turing-complet