y $scopes = shift // $config->{scopes};
Mojo::JWT::Google->new(
from_json => $config->{gcp_auth_file},
target => $config->{oauth_url} // $self->oauth_
my $tx = pop;
if ($tx->res->json('/access_token')) {
$d->pass($tx->res->json);
}
else {
ender(json => $tx->res->json, status => $tx->res->code);
},
sub { ## error sub
my $tx = pop;
$c->render(json => $tx->res->json, sta