So I've got the auth redirect/callback flow working but even when using the exact code from the docs, the google_id, google_token, and google_refresh_token values are not populating in the database. This means that if we want to add a second oAuth provider, there would be no way to distinguish an account from Google and future provider 2 if they share an email address.
To be clear, the login and auth works and the person is considered logged into the app with an entry in the users table, but those fields not being populated is worrying.
Socialite Version
5.13
Laravel Version
11.4
PHP Version
8.3.6
Database Driver & Version
No response
Description
So I've got the auth redirect/callback flow working but even when using the exact code from the docs, the
google_id
,google_token
, andgoogle_refresh_token
values are not populating in the database. This means that if we want to add a second oAuth provider, there would be no way to distinguish an account from Google and future provider 2 if they share an email address.My code:
To be clear, the login and auth works and the person is considered logged into the app with an entry in the
users
table, but those fields not being populated is worrying.Steps To Reproduce
accounts.google.com