rauth
rauth copied to clipboard
A Python library for OAuth 1.0/a, 2.0, and Ofly.
Deprecation warnings are raised due to invalid escape sequences in Python 3.8 . Below is a log of the warnings raised during compiling all the python files. Using raw strings...
#215 issue fixed
https://github.com/litl/rauth/blob/a6d887d7737cf21ec896a8104f25c2754c694011/rauth/oauth.py#L69 It causes a problem when working with JSON requests. data and json args are optional and if the data is not set, this gives an attribute error.
how to solve this.....??? (I attached traceback & source code) ``` service=rauth.OAuth2Service(client_id=client_id,client_secret=secret,base_url="https://api.crowdstrike.com/") tr="" data={"token": f"{tr}"} def get_access_token(service): session = service.get_auth_session(data=data, decoder=json.loads) access_token = session.access_token tr=access_token ``` ``` session = service.get_auth_session(data=data,...
Hello, I'm trying to upload an image to flickr and receiving a `signature_invalid` error. This code should reproduce: ``` python def get_flickr_session(): # returns flickr session flickr = OAuth1Service( name='flickr',...
Is there any other way to deal with errors happening inside the get_auth_session decoding? Currently this is my code: ``` try: session = service.get_auth_session(data=data, decoder=json.loads) except JSONDecodeError as e: print("handle...
There is a small typo in rauth/service.py. Should read `initialize` rather than `initilize`. Semi-automated pull request generated by https://github.com/timgates42/meticulous/blob/master/docs/NOTE.md
As detailed [here](https://www.online24.nl/blog/common-csrf-vulnerability-in-oauth2-implementations/) and [here](https://developers.facebook.com/docs/howtos/login/server-side-login/), the default implementation of OAuth2 is vulnerable to CSRF attacks whereby a malicious host can compromise the developer's site by grabbing a valid code from...