- Issue created by @liquidcms
We use https://www.drupal.org/project/oauth2_client → and specifically its Azure Active Directory plugin to both create new accounts and authenticate existing ones.
With this module set as either "if TZ not set" or "every login". The TZ does not get set when the user first logs in to the site (which creates their account as it is logging them in). With the "every login" option, the 2nd time they log in; their TZ is correctly set.
I would debug and fix this except my development system does not have access to Active Directory; plus, apparently, standard Drupal registration is broken (we never use this as only method to create accounts is through AD).
I'll, hopefully, sort out some way to debug the issue; but for now we will live with "set on 2nd login" as our set up.
Active
1.0
Code