Hey,
have you seen the docs below the redirect section? https://laravel.com/docs/8.x/passport#approving-the-request
Namely:
/**
* Determine if the client should skip the authorization prompt.
*
* @return bool
*/
public function skipsAuthorization()
{
return $this->firstParty();
}
You can auto approve the request, so your call should be good to go.
Sign in to participate in this thread!