Hi,
I am trying to configure my script to be able to request the user to sign into the portal, but the issue that I am facing is that the portal is set up using single sign. Is there a way to configure the script to require the user to sign in with a simple click of a button prompt like how we have it set currently or does it have to be manually configured every time? I have a script written for AGO which works fine, but is set up with the credentials stored manually.
I don't have SSO, so I can't speak to that specifically, but check out the authentication strategies page of the documentation: https://developers.arcgis.com/python/guide/working-with-different-authentication-schemes/
Personally, I use persistent profiles for my organization's scripts, and have a custom module that interactively helps users set up a profile if they do not already have one. But that's more for named users, not sure how much that would transfer to your situation. Maybe you can get an AppID for your script so that it's registered with your Portal?
Thank you jcarlson. I have read the documentation for the different authentication methods but I have yet to figure out how to configure the script using that documentation. This might also be a fairly big security risk, but if there is a way to have them sign in automatically would be really helpful.