Fix SSO connection error on GridPane

The problem

You hit the SSO button from GP admin and you are getting an error message. Then under Logs > Single Sign On Log you are seeing a log like this

**********************************************************************************************
sso Log Begin - site.url 
**********************************************************************************************

 
WPCLI Login Package is installed...
WPCLI Login MU plugin in place...
2
4
301
1447
   
    
No wpadmin_id.env existed - Using WP-CLI to generate ID is returning Errors, attempting to pull ID now...
    
Failed to extract usable ID...
Generating Payload:
Sending payload...
 

**********************************************************************************************
sso Log End - site.url 
**********************************************************************************************

How to fix this

The solution is pretty simple. SSH to your server and go to the path /var/www/site.url/logs and add the id of your admin to the file wpadmin_id.env

  1. cd /var/www/site.url/logs
  2. ls -l
  3. nano wpadmin_id.env