-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
myedenred now requires 2FA token to be inserted #8
Comments
yes, it looks like that... |
Yes, also happening to me! |
Same here can you check it?
|
They need to have an area to create token to communicate with theirs API. Because i think the solution to request the MFA code to HA user is not a solution. |
Hello, From what I can see there is the following initial request:
After the first request succeeds what happens is:
@netsoft-ruidias can you replicate this flow in your plugin? |
Hello @joaovitoriasilva , |
@andregoncrod yep you are right. I just checked (again) and in fact there is no logic of access+refresh token returned, only the short lived access token is returned. I highly doubt contacting them is gonna resolve anything. |
Hello @joaovitoriasilva It's hard for me to understand how this company even thinks about closing a service like this. This is a disservice to theire customers/users... |
Hey, check my last commit. It will solve the issue without adding 2FA. rodriguestiago0/myedenred-actual@e658d79 Thanks |
@rodriguestiago0 SUPER 💯 I'll add that logic to my code, please be patient |
|
Hey @rodriguestiago0 I was looking at your code and your solution will not work for this component, unfortunately. Your code depends on knowing the For now, I will not move forward with the solution, although I may consider alternatives for the future. If you have new ideas/suggestions please share. |
The token is a JWT. If you authenticate using With username and password
and then send the 2FA on with
you will get an JWT token. Parse that token and the userID will be on |
Already tried that yesterday, didn't worked 🤔 |
you need to authenticate as mobile user and not a desktop user. The URL I used are using the mobile signature and not the APP |
I noticed a curious fact Yesterday I tried logging in normally through the webApp/Portal and after obtaining the token, I parsed it and tried the Login as in your example, using the It didn't work and returned the error: Today I tried your sample, via Postman. After doing with your data and getting the token, I noticed that the This leads me to think the So what I have to find out now, are the real values for android, probably { "appType": "Android", "appVersion": "????" } I'll give it a try on this |
Send the app version of your app. Check the app details page |
Is Android or ANDROID? |
It's The possible values for |
Hello to all, someone use this addon with Home Assistant last version ? Because I use and after the last update I have issues with 2fa. Someone have some solution ? |
same problem here |
The integration does not work anymore because myedenred has implemented 2FA.
The text was updated successfully, but these errors were encountered: