

It depends on port of entry. The ninth circuit, which covers San Francisco, has upheld that entrants can refuse to provide a phone pin, but other circuits have found differently.
So odd that this happened in California because there’s a pretty powerful set of protections in place in the ninth circuit specifically - not that the current admin gives a shit about the law.

The second paragraph discusses an incident that occurred at San Francisco International Airport with the same circumstance. Should have indicated that’s what I found weird because it should have been prevented. The southern courts have been less protective of individual freedoms. Might be legal there under the border exemption according to their courts.