Hello, I really need your help, it has troubled me for many days.

I tried to use SAML as the authentication source, and I have come to the last 
step. 
The authentication portal fails to respond correctly to the IDP SAML Response, 
but returns to the authentication selection page.


by the way, I have tried to send a Saml Response directly on the host that 
requires authentication, and it can accept it. So what should I do to make 
portal receive Saml Response from the Internet


[Desired result:]
    The portal responds to the saml response, showing success or 
failure.


[SP entityID and ACS]
<md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" 
entityID="http://pf.vaiwan.com"&gt;


<md:AssertionConsumerService 
Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" 
Location="http://pf.vaiwan.com/saml/assertion"; index="0"/&gt;


[IDP debug: SAML Response]
array(2) {
["Url"]=&gt;
string(35) "http://pf.vaiwan.com/saml/assertion";,

&nbsp;
["SAMLResponse"]=&gt;
&nbsp; string(6412) 
"CjxzYW1scDpSZXNwb25zZSB4bWxuczpzYW1scD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOnByb3RvY29sIiB4bWxuczpzYW1sPSJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6YXNzZXJ0aW9uIiBJRD0icGZ4YjMzMzY1M2UtNDBkOC0xNGE4LWNlZTAtZTg5NzkxZjE1YTliIiBWZXJzaW9uPSIyLjAiIElzc3VlSW5zdGFudD0iMjAxNC0wNy0xN1QwMTowMTo0......



[IDP debug: Portal Response]
<!DOCTYPE html&gt;
<html&gt;
<head&gt;
&nbsp; <meta http-equiv="Content-Type" content="text/html; charset=utf-8"&gt;
&nbsp; <meta http-equiv="x-ua-compatible" content="ie=edge"&gt;
&nbsp; <meta name="viewport" content="width=device-width, initial-scale=1"&gt;
&nbsp; <link href="/common/styles.css" media="screen" rel="stylesheet" 
type="text/css" /&gt;
&nbsp; <script src="/common/jquery-1.11.3.min.js" 
type="text/javascript"&gt;</script&gt;
&nbsp; <script src="/common/pf.js" type="text/javascript"&gt;</script&gt;
&nbsp; <script src="/content/captiveportal.js" 
type="text/javascript"&gt;</script&gt;
&nbsp; <title&gt;PacketFence Register system</title&gt;

....
&nbsp;Username/password login
...
&nbsp;Guest signup
...
&nbsp; &nbsp;SAML login


<!-- END content-with-choice.html --&gt;





Thank you !
_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to