summaryrefslogtreecommitdiffstats
path: root/auth_mellon_handler.c
diff options
context:
space:
mode:
authorolavmrk <olavmrk@a716ebb1-153a-0410-b759-cfb97c6a1b53>2012-01-12 13:30:50 +0000
committerolavmrk <olavmrk@a716ebb1-153a-0410-b759-cfb97c6a1b53>2012-01-12 13:30:50 +0000
commit673cdf63c1afff1d649df4ff31366a0c8264d182 (patch)
tree5fd29251f0460a75cbdada189d9ba14f86100e2d /auth_mellon_handler.c
parentb1d829f3a4f925107b6f6a079eafe93934f1f079 (diff)
downloadmod_auth_mellon-673cdf63c1afff1d649df4ff31366a0c8264d182.tar.gz
mod_auth_mellon-673cdf63c1afff1d649df4ff31366a0c8264d182.tar.xz
mod_auth_mellon-673cdf63c1afff1d649df4ff31366a0c8264d182.zip
Move discovery response endpoint to "login" instead of "auth".
We now have a "login" endpoint that can be used for triggering authentication. Make the discovery service send its response to that page. git-svn-id: https://modmellon.googlecode.com/svn/trunk@147 a716ebb1-153a-0410-b759-cfb97c6a1b53
Diffstat (limited to 'auth_mellon_handler.c')
-rw-r--r--auth_mellon_handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth_mellon_handler.c b/auth_mellon_handler.c
index 10305ae..2c752a6 100644
--- a/auth_mellon_handler.c
+++ b/auth_mellon_handler.c
@@ -2524,7 +2524,7 @@ static int am_auth_new_ticket(request_rec *r)
/* If discovery URL already has a ? we append a & */
sep = (strchr(cfg->discovery_url, '?')) ? "&" : "?";
- return_url = apr_psprintf(r->pool, "%sauth?ReturnTo=%s",
+ return_url = apr_psprintf(r->pool, "%slogin?ReturnTo=%s",
endpoint,
am_urlencode(r->pool, relay_state));
ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r,