Giter VIP home page Giter VIP logo

Comments (7)

bnoguchi avatar bnoguchi commented on May 20, 2024

Configure the following in your app, and let me know what your console prints out:

everyauth.everymodule.moduleErrback( function (err) {
  console.log(err);
});

from everyauth.

vincentcr avatar vincentcr commented on May 20, 2024

Hi,

It seems to make it behave differently. Where it would crash it now hangs with this output:

starting step - getRequestToken
...finished step
starting step - storeRequestToken
...finished step
starting step - redirectToProviderAuth
...finished step
starting step - extractTokenAndVerifier
...finished step
starting step - getSession
...finished step
starting step - rememberTokenSecret
{ stack: [Getter/Setter],
  arguments: undefined,
  type: undefined,
  message: 'Step rememberTokenSecret of `yahoo` is promising: requestTokenSecret ; however, the step returns nothing. Fix the step by returning the expected values OR by returning a Promise that promises said values.' }
...finished step
starting step - getAccessToken
{ statusCode: 401,
  data: 'oauth_problem=signature_invalid' }

from everyauth.

bnoguchi avatar bnoguchi commented on May 20, 2024

Yeah, it doesn't throw because you just over-wrote the default error handler to console.log the error instead of throwing it. This is good because now I know what your error is. Somehow, your oauth signature is invalid. I'm not getting this error with my example app provided with the everyauth github repo. So, I'm thinking this has something to do with your Yahoo Oauth API keys. Can you double check to make sure that they are copied/pasted correctly?

from everyauth.

vincentcr avatar vincentcr commented on May 20, 2024

I'm running your provided example, are the keys in there not correct?

from everyauth.

bnoguchi avatar bnoguchi commented on May 20, 2024

The keys are correct. I just tested it, and it works for me. What everyauth version are you using?

from everyauth.

bnoguchi avatar bnoguchi commented on May 20, 2024

Also, are you using local.host:3000 vs localhost:3000?

from everyauth.

vincentcr avatar vincentcr commented on May 20, 2024

ha! that was it. i was using localhost. it works with local.host. thanks!

from everyauth.

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.