Yii2 Authclient

In the AuthAction class under the authOAuth2 Method in yii2-authclient extension it does not pass through any extra parameters to build the url. Basically I need to add prompt: "select account" for google and a display: "popup" for facebook. I added it under my common config in viewOptions but that only appears to be for the AuthChoice Widget. would be good to either be able to set this in the widget and be able to configure the defaults globally.

My solution was to add

$url = $client->buildAuthUrl($client->getViewOptions());

but not sure if this is what view options was for though.

Anyone got a better solution?