Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

141
Views
Authenticating and logging into a website using python requests

i was trying to make a small bot that would log into my account on zalando.com website using python requests. But im having alot of trouble with authenticating my session.

The only thing i was able to find is that the website authenticates the user first and then loads the login page -> awaits a click event to execute some code then sends a post request with payload of the email, password and a long request token thingy. the request token is always constant, i assumed this from comparing it across many browsers and after a cookie wipe.

Heading straight to zalando.co.uk/login causes 2 GET requests -one to /authorize?some_ids_tokens_idonnt_know_about -one to /authenticate?TheSameRequestTokenThingyy

I guess that the solution of my problem starts from the first request. This boils my questions down to two questions? What javaScript functions calls these two requests? And how they generate these ids/tokens?

(I tried reverse engineering the javascript of the website and it was horrible, and its giving me terrible nightmares lol).

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!