dacastro4 / laravel-gmail

Laravel wrapper for the Gmail API
MIT License
292 stars 134 forks source link

How to add query to callback-url? #238

Closed aaarab closed 2 years ago

aaarab commented 2 years ago

i use this package in multi-tenancy project and i need to receive some extra parameters in the callback.

$client = new Google_Client(); $params = array( 'signupfor' => 'research', ... );

$client->setState(json_encode($params));

aaarab commented 2 years ago

i find this solution: config(['gmail.state' => 'new state value']);