Hi All,
I try to user token-based authentication to ArcGIS Online using my developers.arcgis.com account.
I pass the following request "https://www.arcgis.com/sharing/generateToken?username=myname&password=mypass&client=requestip&f=json "
However, my request seems to be invalid, as I receive the message "{"error":{"code":400,"message":"Unable to generate token.","details":["Invalid username or password."]}}". The credentials are 100% good.
My question is: can I still use token-based authentciation for ArcGIS Online and Portal for ArcGIS or should go with OAuth?
Thanks,
Adam