Answer the question
In order to leave comments, you need to log in
How to get authorization through ESIA in python?
There is a python script that was used to upload a dbf file with data (it takes about 20 minutes, but this does not affect the essence of the issue). Previously, everything was done using the requests library , but recently the site on which the upload was carried out changed the authorization scheme. If earlier the entrance was by login / password, now authorization is carried out through the ESIA (Government Services Portal) and further selection of the attached old login.
Unfortunately, I could not find a way to get authorization using the requests library and continue the script. Libraries BeuatifulSoup, Mechanize did not help me either. On the Internet, information about the opposite task, i.e. how to fasten authorization through the ESIA to something. At the moment, I got out of the situation with the help of the Selenium library.
But:
Answer the question
In order to leave comments, you need to log in
http://minsvyaz.ru/common/upload/method[1].pdf
This document should help, it contains all the necessary information about integration with the ESIA.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question