I'll touch on only the New Brunswick issue since I've not paid any attention to Sask, at least not since I attended U of Sask decades ago.
There wasn't a "law"' passed about this issue nor were there school board "activists". What happened was that a "policy" was issued in August 2020 by the NB Minister of Education under the authority granted to him by the Education Act. It was called "Policy 713, Sexual Orientation and Gender Identity". This was enacted, according to reporting at the time, after at least a decade of consultation with various stakeholders including parents groups. To give the condensed
wiki description:
"The policy, established under the province's Department of Education and Early Childhood Development, requires school personnel to respect students' pronouns and chosen names, requires each school to have at least one gender-neutral bathroom, and requires schools to provide professional learning opportunities for school personnel to understand and support the needs of LGBTQIA2S+ students. The policy also ensures that the establishment of a Gender-Sexuality Alliance club and any events or activities organized by such a club will be supported by school personnel and principals, with parental consent not being a requirement to join."
In June 2023, that policy was amended according to the wiki description;
"On June 8, 2023, Policy 713 was revised by Hogan and was announced to become effective starting July 1. His department updated three of the policy's sections: Self-identification, Sports Participation and Universal Spaces. Under Self-identification, two parts were adjusted. In Section 6.3.1, students ages 16 and above who identify as transgender or non-binary will engage in consultations with school officials, allowing for them to use their preferred name and pronouns. Section 6.3.2 adds that parental consent will be required for students under 16 to keep records of their preferred name, with further support being provided in cases where parental consent is inaccessible.[17] This change forbids New Brunswick teachers from using students' preferred pronouns if they are under 16 years of age, without parental consent.[18] Under Sports Participation, Section 6.1.5 was clarified to ensure that all students can "participate in curricular, co-curricular, and extracurricular activities that are safe and welcoming." Minister Hogan reaffirmed the New Brunswick Interscholastic Athletic Association's role in overseeing provincial high school sports.[17] This, however, also removes mentions of allowing students to participate in extracurricular activities, including sports, that match their gender identity.[18] Under Universal Spaces, Section 6.4.3 was added to establish the provision of private universal changing spaces within all schools.[17]"
A lot of the NB controversy seemed to stem from an apparent lack of consultation associated with the 2023 policy revision, nor any proof provided (nor discovered by a subsequent investigation) to support the claims of widespread complaints from parents being the catalyst for the revision.
It also seems that Sask was also about a similar "policy" and not legislation.
Since only the current 2023 Policy 713 is available on-line at any NB government site, I'll provide pdf copies here of both the original 2020 version and the 2023 version if anyone is interested in comparing them.