Giter VIP home page Giter VIP logo

oauth2pythonsampleapp's People

Contributors

afreen04 avatar dependabot[bot] avatar diana-derose avatar hlu2 avatar nbhambhani avatar rkasaraneni20 avatar wardal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

oauth2pythonsampleapp's Issues

authCodeHandler's state != get_CSRF_token(request) check keeps failing

This could be because I am new to integrating Oauth2, but I've followed the readme but can not make it past the line

elif state != get_CSRF_token(request): # validate against CSRF attacks

in the authCodeHandler view function. I've been trying with the Connect to Quickbooks button.

I can comment out this check, but then I am not validating against CSRF attacks, and this is probably insecure. Can anyone help me understand why my sandbox app cannot pass this validation?

Thanks

OAuth2 authentication doesn't work for me

I created new app named 'xxx-dev' at INTUIT about 6 days ago.
I followed the instruction and i enabled "Quickbooks Accounting" and "Quickbooks Payments" on App Settings page.
And i was implementing Quickbooks Online Authentication in my Rails app using my Client ID and Client Secret.
I was using OAuth2 but i get error continuosly.
So i tried this sample app but i get error too.
They say that "We're sorry! We are experiencing some problems. Please try again later.".
Looking forward your help.

Windows 10 Pycrypto is deprecated and causes install issues

When pip installing the requirements on windows 10 I got the following error from Pycrypto install on python_jose==1.3.2:

Command "C:\Users\Zakaria\AppData\Local\Programs\Python\Python36-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\Zakaria\\AppData\\Local\\Temp\\pip-build-76zw3133\\pycrypto\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\Zakaria\AppData\Local\Temp\pip-kgjmts0_-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\Zakaria\AppData\Local\Temp\pip-build-76zw3133\pycrypto\

The solution is to use a newer version of python-jose (I used v2.0.2). Tested with it installed and everything ran fine.

See here for more on this:

mpdavis/python-jose#69

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.