Closed thomas-maschler closed 7 years ago
Using the version in Master, it does default to portal, https://github.com/Esri/ArcREST/blob/master/src/arcresthelper/securityhandlerhelper.py#L147
I tested your script it it runs.
BTW, token = securityhandlerhelper.securityhandlerhelper(config) does not return the token, it returns the securityhandlerhelper object. You will need to use token.securityhandler.token to get the token.
ArcRest or ArcRestHelper
ArcRestHelper
Version or date of download
01/05/2017
Bug or Enhancement
When trying to retrieve a token I get the following error message
This error doesn't occur when I specify the Portal as security_type (although there is still some weird response)
Repo Steps or Enhancement details
Make Portal default security type again.