WRDAuthPlugin::InitiateSAMLIdPInitiatedLogin (open)
Initiates a SAML initiated login. Looks up the SAML IdP endpoint file in the current site and lets that file start the flow for the currently logged in user
Syntax
LOADLIB "mod::wrd/lib/internal/auth/webdesignplugin.whlib";
RECORD FUNCTION InitiateSAMLIdPInitiatedLogin(STRING spentityid)Parameters
STRING spentityidEntity id of the connected SP to login
Return value
RECORDSubmitinstruction (See ExecuteSubmitInstruction)
STRING codeError code
- 'idpendpointnotfound': Endpoint file for the IdP was not found
RECORD formForm data (only for type 'form')
STRING form.actionForm action URI
STRING form.methodForm method (allowed values: 'GET', 'POST')
RECORD ARRAY form.varsForm variables to post
STRING form.vars.nameName of the variable
STRING form.vars.valueValue of the variable
BOOLEAN successWhether the call was successfull
STRING typeInstruction type ('reload', 'redirect', 'form', 'postmessage', 'close')
STRING urlRedirect URL (only for type 'redirect')