Not in Canada:
* https://ccla.org/wp-content/uploads/2021/07/Know-Your-Rights...
* https://www.jeffreismanlaw.ca/when-do-you-have-to-identify-y...
* https://collettreadllp.com/know-your-rights/can-you-refuse-t...
Further, you don't have to carry ID and can't get into trouble if you don't have any if walking.
Not in Canada:
* https://ccla.org/wp-content/uploads/2021/07/Know-Your-Rights...
* https://www.jeffreismanlaw.ca/when-do-you-have-to-identify-y...
* https://collettreadllp.com/know-your-rights/can-you-refuse-t...
Further, you don't have to carry ID and can't get into trouble if you don't have any if walking.