yii2-user
yii2-user copied to clipboard
[ask] Auth Google
First, change settings, from Google Auth to Google
'class' => 'yii\authclient\clients\GoogleOAuth', to 'class' => 'yii\authclient\clients\Google',
second, errors Error 400: redirect_uri_mismatch When I try to log in with Google, I follow Google's instructions but it still doesn't work
- It is possible that auth on social media has changed the auth settings
hi sorry, but i haven't worked on this extension for many years now and havent kept up to date with yii2 in general
a quick google search suggests that you may need to set the redirect uri precisely - https://stackoverflow.com/questions/73799334/i-get-this-error-error-400-redirect-uri-mismatch-even-after-i-registered-the/73799803#73799803
also, my code was based on yii2-authclient so you could try asking them on their forums as well - https://forum.yiiframework.com/c/yii-2-0/5