0
votes

M question is it possible to check a generated Authrequest ( before it is signed ) as a test ? either via command line or a php page.

Any advice is much appreciated

1

1 Answers

1
votes

Review the php-saml toolkit

If you initialize the OneLogin_Saml2_AuthnRequest object, later with the getXML method you will obtain the AuthNRequest XML.

but I recommend you to play with that demo1 documented here to really underestand the SAML protocol.

You will need to connect your Service Provider with an Identity Provider, if you don't have one, get a Onelogin trial account and follow the steps described here