I have been encountering Error 403 when I attempt an API login using a RSA-encrypted password (a requirement for my region).
I am using the Crypto library in Python, and while I have been able to obtain the encryptionKey and timestamp, the encrypted password does not seem to work. Relevant sections of the code reproduced hereunder.
Quote
from Crypto.Cipher import PKCS1_OAEP
from Crypto.PublicKey import RSA
... call GET to /session/encryptionKey and obtain "response"
API Login Encryption
in IG Technical Support - Platform and App Help
Posted
I have been encountering Error 403 when I attempt an API login using a RSA-encrypted password (a requirement for my region).
I am using the Crypto library in Python, and while I have been able to obtain the encryptionKey and timestamp, the encrypted password does not seem to work. Relevant sections of the code reproduced hereunder.
this will produce a HTTP 403 (Forbidden). Is there anything I am missing out or doing wrong?