I find the OS' captive portal detection to sometimes be flaky, so I often just directly visit www.neverssl.com to reliably trigger the captive portal redirect.
I used to use neverssl, but it's very different for .org and .com and I kept forgetting which was which.
This post reminded me to make a siri shortcut that just opens safari to http://captive.apple.com to trigger the captive portal.
But the URL is too complex among different vendor:
https://captivebehavior.wballiance.com/
I don't know why, even I tracked the URLs, sometimes it still fails (OS refuse connecting to the URL?).
DHCP option 114 (RFC8908) can advertise the URL to client directly, but it is not widely supported:
Had to do that to my furnace with a paper clip one winter when a sensor went out and I couldn't replace it for a couple days
I've interacted with these as an end user dozens of times, but in 20 years I never heard the term "captive portal". I tend to use the Apple URL to trigger them, and I never understood why the word "captive" was in that URL. Now I know!
And I still don't really know how they work (I guess I should read this article...).