A rails app configured to act as both a SAML Idp and a Service provider requesting user authentication