Code for the Catch-All IdP