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
This is issue about getting custom data after facebook auth. My goal is to pass additional params to AuthAction::successCallback() (for example affiliate code)
In successCallback to get facebook_custom_state with all data that was saved in buildAuthUrl()
What do you get instead?
I get this is my session row in database... Notice no facebook_custom_state however it was saved in buildAuthUrl() but overwritten at some later stage by yii
@BenasPaulikas why you use in config 'validateAuthState' => false?
Check your samesite param. Maybe your settings is session.cookie_samesite = 'Strict' and your session data is not overwritten, you session is missing. Look at #294
This is issue about getting custom data after facebook auth. My goal is to pass additional params to AuthAction::successCallback() (for example affiliate code)
What steps will reproduce the problem?
Components
Facebook:
Controller:
What is the expected result?
In successCallback to get
facebook_custom_state
with all data that was saved in buildAuthUrl()What do you get instead?
I get this is my session row in database... Notice no
facebook_custom_state
however it was saved in buildAuthUrl() but overwritten at some later stage by yiiAdditional info
The text was updated successfully, but these errors were encountered: