Hi @kporangehat
As you know, ShotGrid Desktop uses Qt’s WebEngine (based on Chromium) to show the login flow. This environment is different from regular browsers in subtle and mysterious ways.
As to why your email is not saved in your company SSO login page, someone on our side would need to be able to repro and investigate.
But I may have a way to lessen the pain a bit… But it depends on your site’s user base. 2 cases:
- All of the users have emails from your company email domain (e.g. everyone uses an
@foobar.com
email address).
- You have a mix of internal staff (with the
@foobar.com
emails) and external vendors/contributors with their own emails that your company does not own/control.
The easiest case is the first, where everyone has an email on the same domain. There is a change in the Site Preferences that can be done that will benefit all of the ShotGrid site users (when using the web and other SG-connected apps). In the Site Prefs, in the Advanced section, your will see this setting:
Just fill it in with your company domain. Then whenever connecting to SG, the initial Autodesk Identity page that asks your email will be skipped to bring you over directly to your company SSO system.
The downside of this setting : should you ever invite someone from outside the company, they will no be able to login as they would always be redirected to your SSO.
If your situation is the second one, then there is an environment variable that can be set in the SG Desktop user’s environment. There are actually 2 environment variables that may prove useful (they are mutually exclusive):
TK_SHOTGRID_SSO_DOMAIN
:
This is to set the SSO domain for that specific machine user. This has a similar effect as the site preference mentioned earlier, but it only impact that user and not all of the site’s users.
e.x. export TK_SHOTGRID_SSO_DOMAIN=foobar.com
TK_SHOTGRID_DEFAULT_LOGIN
:
This can be used by external contributor, vendors or regular employees. It pre-fills the Autodesk Identity dialog box with the defined email, so you just need to click ‘NEXT’.
But you will still need to enter the SSO email field if prompted (if the remember me flag
does not work)… But you can use the pre-filled value and copy-paste it. More of a hack, I know…
e.x. export TK_SHOTGRID_DEFAULT_LOGIN=firstname.lastname@foobar.com
Hoping this helps, and happy holidays
-Patrick