Gigya Job Openings

Page History

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

HTML
<!--<iframe src="https://s3.amazonaws.com/wikifiles.gigya.com/Socialize/LoginUI_SAML.htm" style="width: 850px; height: 150px;"></iframe>-->

<div id="mediaIdDiv"></div>
<script>
var params3 =
{
    customButton: {
        "type": "saml",
		"providerName":"MediatestShib-IDgig02",
		"idpName":"mediatestShib-idgig02",
		"iconURL": "//developers.gigya.com/download/attachments/8563756/loginButton.png",
		"logoURL": "//developers.gigya.com/download/attachments/8563756/loginButton.png",
		"lastLoginIconURL":"//developers.gigya.com/download/attachments/8563756/loginButton.png",
		"position":"4"
    },
    "showTermsLink":false, // 'terms' link is hidden
    "containerID":"mediaIdDiv", // The component will embed itself inside the "loginDiv" DIV (will not be a popup),
	width:200,
	disabledProviders: 'wechat'
}
gigya.socialize.showLoginUI(params3);
</script>

...

Code Block
languagexml
linenumberstrue
<html>
<head>

<!-- including the gigya.social.js script -->
<style>
    body {font-family:arial;font-size:11px}
</style>
<SCRIPT type="text/javascript" lang="javascript"
    src="https://cdns.gigya.com/js/gigya.js?apikey=2_Y82PzwJ_chSFImHXaIDJClnLyJzmk-VFOavSsaNTzl6m901s_NNxRAS0xJ3bd3_N">
        {
            enabledProviders: 'facebook,twitter,googleplus,linkedin,saml,yahoo,messenger,aol,foursquare,vkontakte,renren,QQ,Sina'
        }
</SCRIPT>
<script type="text/javascript">

// Adding testShib-gig02 as a SAML login provider using the 'params' object:
customButtons= [
    { 
	    "type": "saml",
    	"providerName":"testShib-gig02",
        "idpName":"testShib-gig02",
        "iconURL": "//developers.gigya.com/download/attachments/8563756/loginButton.png",
        "logoURL": "//developers.gigya.com/download/attachments/8563756/loginButton.png",
        "lastLoginIconURL":"//developers.gigya.com/download/attachments/8563756/loginButton.png",
        "position":"4"
    }
];
var params =
{
    "customButtons": customButtons, // Includes the customButtons array
    "showTermsLink":false, // 'terms' link is hidden
    "containerID":"loginDiv", // The component will embed itself inside the "loginDiv" DIV (will not be a popup),
    width:200
}
</script>
</head>
<body>
<div id="loginDiv"></div>
<script type="text/javascript">
    gigya.socialize.showLoginUI(params);
</script>
</body>
</html>

...