Skip to content
  1. Jan 11, 2024
  2. May 23, 2023
  3. Apr 14, 2023
  4. Apr 08, 2023
  5. Mar 05, 2023
  6. Feb 12, 2023
  7. Feb 11, 2023
  8. Feb 04, 2023
  9. Jan 29, 2023
  10. Jan 27, 2023
  11. Aug 08, 2022
  12. Jun 13, 2022
  13. Feb 28, 2022
  14. Feb 18, 2022
  15. Jan 26, 2022
  16. Jan 13, 2022
  17. Jun 05, 2021
    • Stéphane Sobucki's avatar
      [carrefourbanque] Handle dsp2 login status code · cd099eac
      Stéphane Sobucki authored and hydrargyrum's avatar hydrargyrum committed
      On the website, after login if the user uses strong authentication a
      pop-in will show up. This pop-in's content is generated on the fly using
      js and depends on a 'popin_dsp2' parameter code.
      
      We use this parameter code to raise exceptions with the appropriate
      corresponding messages.
      cd099eac
  18. May 10, 2021
    • Stéphane Sobucki's avatar
      [carrefourbanque] Fix login and blackbox · aa3208d5
      Stéphane Sobucki authored and hydrargyrum's avatar hydrargyrum committed
      If we try to access the LoginPage when we're already logged in, we are
      redirected to the HomePage.
      
      Overriding `locate_browser` is also necessary to make the blackbox work.
      If we just `pass`, we would never get to a `LoggedPage`. So a solution
      in which we check if we're on `HomePage` in `do_login` is not
      sufficient.
      aa3208d5
    • Stéphane Sobucki's avatar
      Revert "[carrefourbanque] Fix login" · 33a1a06a
      Stéphane Sobucki authored and hydrargyrum's avatar hydrargyrum committed
      For /espace-client/carte-credit/consultation_solde_ajax, response is
      always 200.
      
      When this url is the state url, this causes problem.
      
      This reverts commit 13b1fb3e717ae52e804d9219ddabfa2a4273f306.
      33a1a06a
  19. Apr 26, 2021
    • Stéphane Sobucki's avatar
      [carrefourbanque] Fix login · 1edd3628
      Stéphane Sobucki authored and hydrargyrum's avatar hydrargyrum committed
      The first time we login, we get a cookie 'SSESSION...'.
      If this cookie is present, when we try to go to the LoginPage we will be
      redirected to the HomePage.
      
      For the next session, because locate_browser() doesn't do anything, do_login() will be called
      but if the cookie 'SSESSION...' is valid we'll be redirected to the HomePage.
      
      This results in calling LoginPage's enter_login() method, even though
      we're on the HomePage, and it causes an AttributeError.
      
      To solve this I removed locate_browser() overriding.
      1edd3628
    • Stéphane Sobucki's avatar
      [carrefourbanque] Make module flake8 compatible · 485c6b49
      Stéphane Sobucki authored and hydrargyrum's avatar hydrargyrum committed
      485c6b49
  20. Apr 11, 2021
  21. Apr 04, 2021
  22. Mar 12, 2021
    • Christophe François's avatar
      [carrefourbanque] Raise AuthMethodNotImplemented · be71b2de
      Christophe François authored and hydrargyrum's avatar hydrargyrum committed
      There is a new 2FA using the Carrefour Banque app. It's not mandatory
      (for now at least) and it seems to require 2FA at each login. Moreover,
      there is no warning before the notification is sent to the user's app.
      
      For now we raise AuthMethodNotImplemented.
      be71b2de
  23. Feb 20, 2021
  24. Jan 09, 2021
  25. Aug 07, 2020