(inputName === "identityProvider") {
              // don't restore provider name from storage.
              // this value will be taken from the URL
            } else if (inputName === "userId") {
              const userId = data[inputName] || generateUserId();
              input.val(userId);
              input.saveToLocalStorage();
            } else if (inputName === "claims") {
              const userClaims = data[inputName];
              if (Array.isArray(userClaims)) {
                input.val