Or how can i dynamically set the redirect uri? I'm constantly having to solve merge conflicts because my local and production server use different redirects. Or maybe I should add services.php to gitignore?
my service.php
'google' =>[
'client_id'=> env('GOOGLE_CLIENT_ID'),
'client_secret' => env('GOOGLE_CLIENT_SECRET'),
'redirect' =>'http://localhost:3000/login/google/callback',
],
I want to include a uri for production like
http://example.com/login/google/callback
I've tried using an array which didn't work