I was using a public Wifi that offers only 30min of Wifi for every device. After 30min, I clicked "forget Wifi network", and signed in again. The network somehow identified my device and prevented me from getting another 30min.
I was curious about the mechanism this network used to identify my device despite having randomized MAC address.