Git Product home page Git Product logo

Comments (8)

passuf avatar passuf commented on August 9, 2024

@nithunx Thanks for submitting the issue! Are you sure that you entered the API credentials and not your email address / login name together with your password? You can find the User ID and API Token here.

from wunderhabit.

asfaltboy avatar asfaltboy commented on August 9, 2024

@passuf I've got the same error here, and yes I'm sure I've entered the details correctly.

For what it's worth, the API seems up and I can authenticate using python habitica client (have you considered using it btw? I can PR you)

from wunderhabit.

passuf avatar passuf commented on August 9, 2024

There seems to be an error while validating the user object received from Habitica.
I added some logging, would you mind to try again so I can see what exactli the problem is?

Thanks for mentioning the Python Habitica client, I might give it a try!

from wunderhabit.

asfaltboy avatar asfaltboy commented on August 9, 2024

@passuf yes sure, though I've already looked into this, and issue is the app is relying on the local key to have user details in user['auth'], but I (and I'm guessing @nithunx too) am authenticated via facebook, which is coincidentlally also the name of the key.

But I've started some work already to fix this, as well as move to the habitica lib, it comes out much cleaner; however a caveat is it seems I have to rename the app. I'll submit a PR in a little while and you can see what you think.

from wunderhabit.

passuf avatar passuf commented on August 9, 2024

@asfaltboy ohh, I expected it to be something like this. Thanks a lot for looking into this, looking forward to see your PR!

from wunderhabit.

asfaltboy avatar asfaltboy commented on August 9, 2024

I'm gonna assume you merge this, and continue fixing fb from there, it'll make my life easier.

from wunderhabit.

passuf avatar passuf commented on August 9, 2024

Thanks @asfaltboy and @nithunx for your help, I deployed a fix and Facebook authenticated users should now be able to connect with WunderHabit.

from wunderhabit.

asfaltboy avatar asfaltboy commented on August 9, 2024

@passuf great fix bro, I was just getting to that myself but wanted to add a test. I've rebased on your master and gonna submit the test + travis.yml as new PR now.

from wunderhabit.

Related Issues (16)

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.