public static function getProviderGuard($provider, Authenticatable $user)
    {
        foreach (config('auth.guards') as $guard => $content) {
            if ($content['driver'] == 'passport' && $content['provider'] == $provider) {
                return $guard;
            }
        }

        throw MissingConfigException::guard($user);
    }