GithubHelp home page GithubHelp logo

Comments (6)

jasonjoh avatar jasonjoh commented on June 10, 2024 1

I wonder if it's a version issue with that library. I see an issue on their GitHub repository: requests/requests-oauthlib#324. Some users report downgrading the library fixes the problem for them.

The completed project uses 1.0.0, but I see the latest version is 1.1.0. You probably got the latest if you went through the tutorial steps.

from msgraph-sample-pythondjangoapp.

jasonjoh avatar jasonjoh commented on June 10, 2024

Have you diff'ed the working and non-working projects? Are they using the same app ID/secret? I haven't encountered that error, but it sounds like it's coming from the Requests-OAuthlib library and probably indicates an issue with the response from the token request.

from msgraph-sample-pythondjangoapp.

BosnaZmaj avatar BosnaZmaj commented on June 10, 2024

@jasonjoh
You are correct. It was the requests-oauthlib library. Downgrading from 1.1 to 1.0 fixed the issue. Thanks for the response.

from msgraph-sample-pythondjangoapp.

jasonjoh avatar jasonjoh commented on June 10, 2024

No problem. I'm going to dig in and see if I can figure out how to make it work with the latest, but glad you're unblocked.

from msgraph-sample-pythondjangoapp.

jasonjoh avatar jasonjoh commented on June 10, 2024

Hmm interesting. I just updated the library and ran the project, and it's working without any changes. Do you happen to remember what version you had installed before downgrading?

from msgraph-sample-pythondjangoapp.

BosnaZmaj avatar BosnaZmaj commented on June 10, 2024

It was the default found on pip. To be honest I forgot the version number.

from msgraph-sample-pythondjangoapp.

Related Issues (20)

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.