You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem when users try to link their Garmin account to my platform using an iPhone.
The error that appears is this:
SocialiteProviders\GarminConnect\Server::getTokenCredentials(): Argument #1 ($temporaryCredentials) must be of type League\OAuth1\Client\Credentials\TemporaryCredentials, false given
Has anyone experienced this, do you know what I might be doing wrong?
According to chatGPT
Cookies blocked in Safari (iOS)
Safari (and apps that use WebView on iOS) has a more restrictive policy with third-party cookies and cross-site tracking, which can prevent Socialite from maintaining the authentication state (e.g., the temporary token saved in the session).
This means that when you return from Garmin to your application, the temporary token is no longer available in the session, and so the getTokenCredentials() method tries to use false instead of a valid object.
The text was updated successfully, but these errors were encountered:
I have a problem when users try to link their Garmin account to my platform using an iPhone.
The error that appears is this:
The error occurs when trying to get the user
Has anyone experienced this, do you know what I might be doing wrong?
According to chatGPT
Safari (and apps that use WebView on iOS) has a more restrictive policy with third-party cookies and cross-site tracking, which can prevent Socialite from maintaining the authentication state (e.g., the temporary token saved in the session).
This means that when you return from Garmin to your application, the temporary token is no longer available in the session, and so the getTokenCredentials() method tries to use false instead of a valid object.
The text was updated successfully, but these errors were encountered: