Comments (8)
@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.
@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.
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.
@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.
@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.
I'm gonna assume you merge this, and continue fixing fb from there, it'll make my life easier.
from wunderhabit.
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.
@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)
- Feature request: allow adding Dailies & To-Do tasks HOT 1
- Feature request: sync current score for new connections HOT 1
- Feature Request: Support Subtasks
- Feature Request: Reward Completing Stared Tasks
- Bug: Facebook and Google authentication delivers no email or name HOT 2
- Test Version 3 of the API HOT 3
- Make it easier to connect with existing Habits HOT 1
- Add possibility to down-score Habits
- Can't connect to the Habitica via User ID & API Token HOT 3
- Feature request: Plus a habit when a task is added HOT 1
- Feature request: sync Todos between Habitica and Wunderlist HOT 3
- Feature request: Connect all lists with one habit. HOT 3
- Feature Request: Connect a list folder in Wunderlist with one habit HOT 3
- Connect with Habitica. but, error. HOT 3
- Ignore completed list items from other accounts (Shared List) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wunderhabit.