Isn't OAuth already implemented as a plugin? https://github.com/glpi-project/plugins/blob/master/api/src/endpoints/OAuth.php
Сервис поддержки клиентов работает на платформе UserEcho
Isn't OAuth already implemented as a plugin? https://github.com/glpi-project/plugins/blob/master/api/src/endpoints/OAuth.php