How to: Get and renew an ArcGIS access token using oAuth 2.0 (Server Side)
Channel: Geo Developers
Date: 2018-02-16

More at: https://github.com/esri-es/arcgis-oauth-samples