oauth2-server-php icon indicating copy to clipboard operation
oauth2-server-php copied to clipboard

how do i use cookie

Open ALIXLUBIN opened this issue 1 year ago • 0 comments

Hi, I'm trying to use cookies to authenticate users. I'm only stuck on the controller. How am I supposed to retrieve information from the cookie?

$oauth = new Oauth();
$request = Request::createFromGlobals();
$response = new Response();

if(!$oauth->server->verifyResourceRequest($request)){
 $oauth->server->getResponse()->send();
 die('no');
}

ALIXLUBIN avatar Jan 10 '24 09:01 ALIXLUBIN