Support the ongoing development of Laravel.io →
Passport Authentication Authorization
Last updated 2 years ago.

coolops liked this thread

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!

Eventy

Your banner here too?

El Julio tomatenmark Joined 19 Jul 2021

Moderators

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

Your logo here?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.