Open BenasPaulikas opened 5 years ago
@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