Does anyone know how to use the token from this endpoint?
https://developers.arcgis.com/rest/users-groups-and-items/token/
I was trying trying to implement app authentication but even with a token, trying to access secured items on ArcGIS Online wasn't possible. I kept getting an "invalid token" error. I have a server making the request to the OAuth token endpoint, then the server sends the token to my client side application and I used the IdentityManager.registerToken() and pass in the token but failed to gain access.
https://developers.arcgis.com/documentation/security-and-authentication/app-authentication/