A commercial version of this is Palo Alto firewall with User ID and Authentication Portal. It is typically used for internal network segmentation but I see no reason why it wouldn't work on the public side of things.
Oh, I guess your firewall itself would get owned pretty fast...the mgmt and other webpages hosted on the firewall tend to have a lot of CVEs which probably carries over to the Auth Portal too.
Oh, I guess your firewall itself would get owned pretty fast...the mgmt and other webpages hosted on the firewall tend to have a lot of CVEs which probably carries over to the Auth Portal too.