Did you know ... Search Documentation:
Predicate public_url/3
 public_url(+Request, +Path, -URL) is det[private]
True when URL is a publically useable URL that leads to Path on the current server. Needed for the redirect URL that we must present with the authentication request.