Error after login with google account ( OAuth 2.0) SC 9.12.014

when i configure OAuth in my app scriptcase , and try to login with google account i receive this error

all data base table are created correctly specialy sec_users_social , i flow exactly the steps in the tutorial video , also i make the app in production envi (real domain) but nothink work with me, please Help
i am usign the last version of SC 9.12.014 (7)

@benzaza,

Are you still experiencing the problem described above?

We tested the latest version (9.12.016), and authentication in the system using your Google account works normally.

I don’t know if you already had the system before, and only later implemented authentication to use your Google account when logging in, but if that is the case and you can log in normally with the credentials you entered in the system initially, there is the “Associate login” option in the user menu that allows you to associate your login with your Google account, and when you log in again, you will be able to access it using the “Continue with Google” button on the login screen.

We look forward to any feedback.

Best regards!

thank you for response ,
firstable i start from begin :slight_smile:


**`Fatal error: Uncaught TypeError: array_merge(): Argument #1 must be of type array, null given in C:\Program Files\NetMake\v9-php81\wwwroot\scriptcase\app\OAUth\app_Login\app_Login_apl.php:5640 Stack trace: #0 C:\Program Files\NetMake\v9-php81\wwwroot\scriptcase\app\OAUth\app_Login\app_Login_apl.php(5640): array_merge() #1 C:\Program Files\NetMake\v9-php81\wwwroot\scriptcase\app\OAUth\app_Login\app_Login_apl.php(5116): app_Login_apl->update_login_img() #2 C:\Program Files\NetMake\v9-php81\wwwroot\scriptcase\app\OAUth\app_Login\app_Login_apl.php(4808): app_Login_apl->link_user() #3 C:\Program Files\NetMake\v9-php81\wwwroot\scriptcase\app\OAUth\app_Login\app_Login_apl.php(5049): app_Login_apl->get_social() #4 C:\Program Files\NetMake\v9-php81\wwwroot\scriptcase\app\OAUth\app_Login\app_Login_apl.php(2463): app_Login_apl->go_return() #5 C:\Program Files\NetMake\v9-php81\wwwroot\scriptcase\app\OAUth\app_Login\app_Login_apl.php(2548): app_Login_apl->ini_controle() #6 C:\Program Files\NetMake\v9-php81\wwwroot\scriptcase\app\OAUth\app_Login\index.php(4511): app_Login_apl->controle() #7 {main} thrown in C:\Program Files\NetMake\v9-php81\wwwroot\scriptcase\app\OAUth\app_Login\app_Login_apl.php on line 5640`**

** ------------------------------------------------------------------------------------------------------------------------------**

AFTER REFRESH PAGE I RECEIVE

Fatal error: Uncaught League\OAuth2\Client\Provider\Exception\IdentityProviderException: invalid_grant in C:\Program Files\NetMake\v9-php81\wwwroot\scriptcase\prod\vendor\league\oauth2-google\src\Provider\Google.php:118 Stack trace: #0 C:\Program Files\NetMake\v9-php81\wwwroot\scriptcase\prod\vendor\league\oauth2-client\src\Provider\AbstractProvider.php(735): League\OAuth2\Client\Provider\Google->checkResponse() #1 C:\Program Files\NetMake\v9-php81\wwwroot\scriptcase\prod\vendor\league\oauth2-client\src\Provider\AbstractProvider.php(644): League\OAuth2\Client\Provider\AbstractProvider->getParsedResponse() #2 C:\Program Files\NetMake\v9-php81\wwwroot\scriptcase\app\OAUth\app_Login\app_Login_apl.php(2446): League\OAuth2\Client\Provider\AbstractProvider->getAccessToken() #3 C:\Program Files\NetMake\v9-php81\wwwroot\scriptcase\app\OAUth\app_Login\app_Login_apl.php(2548): app_Login_apl->ini_controle() #4 C:\Program Files\NetMake\v9-php81\wwwroot\scriptcase\app\OAUth\app_Login\index.php(4511): app_Login_apl->controle() #5 {main} thrown in C:\Program Files\NetMake\v9-php81\wwwroot\scriptcase\prod\vendor\league\oauth2-google\src\Provider\Google.php on line 118