Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a wrapper to perform easy authentication #24

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

thisum
Copy link

@thisum thisum commented Feb 20, 2020

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

@turing-complet
Copy link
Owner

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

@turing-complet
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants