Fastest and most user-friendly approach
https://your-domain.com/clientsgetFuelLevies API Clienthttps://your-app.com/callbackFor command-line users
# For server-to-server access (most common)php artisan passport:client --client# Follow prompts:# - What should we name the client? getFuelLevies API Client# - Where should we redirect the request after authorization? <https://your-app.com/callback>
Output:
Client created successfully.
Client ID: 9a1b2c3d-4e5f-6789-abcd-ef1234567890
Client secret: abc123def456ghi789jkl012mno345pqr678stu901vwx234yz
For direct database access
-- View existing clientsSELECT id, name, secret, redirect, revoked, created_at
FROM oauth_clients
WHERE name LIKE '%fuel%' AND revoked = 0;
-- Get client detailsSELECT
id as client_id,
secret as client_secret,
name,
redirect
FROM oauth_clients
WHERE id = 'your-client-id-here';