mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-27 02:43:38 +02:00
1c35002505
[Web] oAuth2 implementation (wip)
5 lines
183 B
PHP
5 lines
183 B
PHP
<?php
|
|
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/prerequisites.inc.php';
|
|
$request = OAuth2\Request::createFromGlobals();
|
|
$oauth2_server->handleTokenRequest($request)->send();
|