Hi,
You can refer this line where client object is being made. However; currently it seems plugin is not passing any arguments to client constructor, so if you want to modify plugin code, you can pass an array like
$client = new \Google_Client( array( 'prompt' => 'select_account' ) );
Let me know if this works for you.
Best Regards,
Ankit G.
Version 1.0.11, to be released shortly, will have a filter for modifying client arguments via a plugin or a theme’s functions.php:
add_filter( 'login_with_google/client_arguments', function( $args ) {
return array(
'prompt' => 'select_account',
);
} );
-
This reply was modified 5 years ago by
pdclark.
Hi Eric,
Version 1.0.11 is release. Can you please try the solution suggested by Paul in above message?
Best Regards,
Ankit G.