Commit 3e0c1b56 authored by Yadd's avatar Yadd
Browse files

Store initial method in issuers (#595)

parent 24e4827f
......@@ -102,7 +102,7 @@ sub run {
# Get HTTP request informations to know
# if we are receving SAML request or response
my $url = $req->uri;
my $request_method = $req->method();
my $request_method = $req->param('issuerMethod') || $req->method;
my $content_type = $req->contentType();
my $idp_initiated = $req->param('IDPInitiated');
my $idp_initiated_sp = $req->param('sp');
......
......@@ -53,6 +53,7 @@ sub _redirect {
foreach my $k ( keys %$prms ) {
$self->p->setHiddenFormValue( $req, $k, $prms->{$k}, '', 0 );
}
$self->p->setHiddenFormValue( $req, 'issuerMethod', $req->method, '', 0);
$req->{urldc} =
$self->conf->{portal}
. $req->path
......
Markdown is supported
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