A server connect on the client webpage that takes a GET parameter and does the lookup against the DB. If it’s not there, raise an error (e.g. 404) and handle that in the client webpage with a browser redirect or toast…
Right.
For our readers, the DB query returns one of the saved uuid if the GET param matches.
On the client side, the redirect to an error page happens when no uuid is returned by the DB: