Back to passport 12 for the time being.

This commit is contained in:
James Cole
2025-05-25 06:24:01 +02:00
parent e9844dc2f5
commit 19e5fd6277
4 changed files with 57 additions and 184 deletions

View File

@@ -158,7 +158,7 @@ class ProfileController extends Controller
/** @var ClientRepository $repository */
$repository = app(ClientRepository::class);
$name = sprintf('%s Personal Access Grant Client',config('app.name'));
$repository->createPersonalAccessGrantClient($name, config('app.name').' Personal Access Grant Client', 'http://localhost');
$repository->createPersonalAccessClient(null, $name, 'http://localhost');
}
$accessToken = app('preferences')->get('access_token');