ESI authorization for apps and services with no browser access or UI

https://oauth.net/2/grant-types/device-code/

This would do it perhaps.