Hi,
While I am trying to logging into Portal for ArcGIS of my organization using following code in Python API
gis= GIS(url = 'https://xyz.domaincom/portal', username='xyz', password='xyz')
getting the below error

I am able to logging in using same credential in browser. This is SSO and OKTA authentication is enabled.
Can anyone help on the issues I am getting in Python api?
TIA
S