Skip to content

Commit c5bca9e

Browse files
committed
Set Google OAuth access_type to offline
Changed the Google OAuth configuration to use 'offline' access_type instead of 'online', enabling the application to receive refresh tokens for long-lived access.
1 parent 2ed1e40 commit c5bca9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/google.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
'client_secret' => env('GOOGLE_CLIENT_SECRET', ''),
2222
'redirect_uri' => env('GOOGLE_REDIRECT', ''),
2323
'scopes' => [],
24-
'access_type' => 'online',
24+
'access_type' => 'offline',
2525
'prompt' => 'consent select_account',
2626

2727
/*

0 commit comments

Comments
 (0)