Giter VIP home page Giter VIP logo

Comments (7)

Andre0512 avatar Andre0512 commented on August 22, 2024

Hi, which country and language do you use? Than I try to reproduce it later, only tested german so far 😅

from lidl-plus.

zsocap avatar zsocap commented on August 22, 2024

Hi there, I used the following setup:

lidl = LidlPlusApi(language="HU", country="hu")

It seems like the valid setup for Hungary.

from lidl-plus.

Andre0512 avatar Andre0512 commented on August 22, 2024

Problem should be fixed now, I created a new release.
Sorry, v0.2.1 couldn't run, I had to test the releases more careful 🤦

from lidl-plus.

zsocap avatar zsocap commented on August 22, 2024

Thx very much for the update!

May I ask you what should happen after you hit the submit button? I receive the following pop-up:

image

Even if I put a break point to avoid the TimeoutException with the "Wrong credentials" message, and accept this pop-up manually, the submit button doesn't do anything.

I am using ubuntu 20.04, with chrome. Tried it win 10, firefox, chrome as well, but it was the same.

from lidl-plus.

Andre0512 avatar Andre0512 commented on August 22, 2024

Oh I see, this message pops up when the authentication is successful, but my code is waiting here for the two factor authentication. I thought it's required to have a 2fa, but maybe it's just required for german accounts or when you configure the payment option.
I will make the 2fa optional and publish a new release this evening.

from lidl-plus.

zsocap avatar zsocap commented on August 22, 2024

Ahhh, got it! So basically you get the token from the latest request's header data and I just have to skip this part:

image

I was able to get the token and use it to get my tickets.

Checked my account on the phone, but I wasn't able to find anything related to 2fa. Maybe in Germany there are more options, e.g. online shopping and other functionalities that require more secure authentication. Thx for the help!!

from lidl-plus.

Andre0512 avatar Andre0512 commented on August 22, 2024

Yes, that's it!
In Germany you can connect your bank account and automatically pay with it. I remember it was in the news that there was an abuse problem with this. Probably that's why 2fa is forced.
Thanks for your contribution :)

from lidl-plus.

Related Issues (9)

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.