If you enable prettyUrl in your yii2-app, your redirect_uri will be:
http://<base_url>/web/site/auth
And disable pretty url:
http://<base_url>/web/index.php?r=site%2Fauth
Example: