I am using SocialAuth to implement social login for an application. I am using seam3 project generated by forge.
Working on the CDI implementation for SocialAuth I would like to have the mapped successUrl from the web.xml to point to a servlet mapped to /Seguranca context.
The problem is that it looks to me that SocialAuth implementation only accepts the pattern "/mapping" and than it appends the pattern to the latest request from the login page, so for example, in my case I have the following login page url:
http://urlAndPort/context/faces/login.xhtml
and than the successUrl is translated by SocialAuth framework to:
http://urlAndPort/context/faces/Seguranca
The "faces" pattern is the standard patterf for facelets requests in seam3 and for my Servlet I do have the following pattern mapped:
http://urlAndPort/context/Seguranca
So I have already tried adding the full url to web.xml parameter but than SocialAuth throws an IllegalStatementException complaining about bad parameter.
So. Is there a way to make the successUrl properly redirect to my Servlet? Or maybe in this case I will have to use the standard Servlet Approach?