Skip to content
  1. May 23, 2023
  2. Apr 11, 2023
  3. Apr 08, 2023
  4. Mar 05, 2023
  5. Mar 04, 2023
    • Yacine BOUHALA's avatar
      [swile] handle 401 error · bf3d8414
      Yacine BOUHALA authored and Romain Bignon's avatar Romain Bignon committed
      sometimes, when we try to connect several times to our swile account
      with wrong creds, we get a 401 error due to these wrong
      creds generating an invalid token and the error message:
      "Try again later. Your computer or network may be sending automated queries.
       To protect our users, we can’t process your request right now." or
      "RECAPTCHA_INVALID_TOKEN"
      bf3d8414
  6. Feb 12, 2023
  7. Feb 11, 2023
  8. Feb 04, 2023
  9. Jan 29, 2023
  10. May 23, 2022
    • droly's avatar
      [swile] Remove wrongpass message · 7abc9429
      droly authored and ntome's avatar ntome committed
      The previous wrongpass message returned was:
      
      "The provided authorization grant is invalid, expired,
      revoked, does not match the redirection URI used in
      the authorization request, or was issued to another client."
      
      Which was not really relevant of the situation.
      7abc9429
    • droly's avatar
      [swile] Change captcha question from v2 to v3 · 8585a849
      droly authored and ntome's avatar ntome committed
      They changed the version from v2 to v3.
      This is now an enterprise captcha.
      
      I've also updated the headers sent.
      8585a849
  11. Apr 11, 2021
  12. Apr 04, 2021
  13. Jan 09, 2021
  14. Dec 26, 2020
  15. Dec 11, 2020
  16. Oct 28, 2020
  17. Aug 26, 2020
  18. Aug 07, 2020
    • ntome's avatar
      [swile] keep and reuse access_token with StatesMixin and avoid CAPTCHA · 35645dff
      ntome authored and hydrargyrum's avatar hydrargyrum committed
      On first login, we have to solve a CAPTCHA to login, and then swile gives an
      access_token and a refresh_token.
      But unlike previous code, on subsequent logins, we can reuse the same
      access_token, rather than solving the CAPTCHA again.
      And when the access_token expires, we can simply use the refresh_token to get
      a fresh access_token, rather than solving another CAPTCHA.
      
      By using OAuth2Mixin, we leverage its token management.
      35645dff
  19. Jun 17, 2020
  20. May 22, 2020
  21. May 07, 2020
  22. Mar 18, 2020