Support the ongoing development of Laravel.io →
Passport Authentication Authorization
Last updated 3 months ago.
1

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.

0

Sign in to participate in this thread!

Cloudways

Your banner here too?

El Julio El Julio tomatenmark Joined 19 Jul 2021

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.