Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

142
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda