Skip to content
Snippets Groups Projects
Commit b09259df authored by Daniel Gerhardt's avatar Daniel Gerhardt
Browse files

Append successurl parameter to external service's URLs

parent d97fa987
No related merge requests found
......@@ -305,7 +305,9 @@ public class LoginController extends AbstractController {
@ResponseBody
public final List<ServiceDescription> getServices(final HttpServletRequest request) {
List<ServiceDescription> services = new ArrayList<ServiceDescription>();
String dialogUrl = request.getContextPath() + "/auth/dialog?type={0}";
/* The first parameter is replaced by the backend, the second one by the frondend */
String dialogUrl = request.getContextPath() + "/auth/dialog?type={0}&successurl='{0}'";
if ("true".equals(guestEnabled)) {
ServiceDescription sdesc = new ServiceDescription(
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment