[英]Integrating Gigya's login to My application login(using shiro apache)
My application login is developed using Shiro Apache, it's working fine but now i want to integrate that application Gigya's login Any one please specify the steps to add i follow the official website for that mentioned below i didn't got that我的应用程序登录是使用 Shiro Apache 开发的,它工作正常但现在我想集成该应用程序 Gigya 的登录任何人请指定添加步骤我按照下面提到的官方网站我没有得到
http://developers.gigya.com/030_Server_SDKs/java http://developers.gigya.com/030_Server_SDKs/java
At last i found solution for my Question First open the below link https://platform.gigya.com/login.aspx?ReturnUrl=%2fSite%2fpartners%2fDashboard.aspx click on Request an Account, then register get API key and secretkey最后我找到了我的问题的解决方案首先打开下面的链接https://platform.gigya.com/login.aspx?ReturnUrl=%2fSite%2fpartners%2fDashboard.aspx点击 Request an Account,然后注册获得 API key 和 secretkey
download GSJavaSDK.jar file from http://developers.gigya.com/030_Server_SDKs/java site and place in lib folder then add the below code in login page(html or xhtml)从http://developers.gigya.com/030_Server_SDKs/java站点下载 GSJavaSDK.jar 文件并放置在 lib 文件夹中,然后在登录页面(html 或 xhtml)中添加以下代码
<html>
<head>
<script type="text/javascript" lang="javascript"
src="http://cdn.gigya.com/JS/socialize.js?apikey=2_Y82PzwJ_chSFImHXaIDJClnLyJzmk-VFOavSsaNTzl6m901s_NNxRAS0xJ3bd3_N">
</script>
</head>
<body >
<br />
<p>Please sign in using one of the following providers:</p>
<div id="loginDiv"></div>
<script type="text/javascript">
gigya.socialize.showLoginUI({containerID: "loginDiv", cid:'', width:220, height:60,
redirectURL: "http://wikifiles.gigya.com/Socialize/PostLoginPage.htm",
showTermsLink:false, hideGigyaLink:true // remove 'Terms' and 'Gigya' links
});
</script>
</body>
</html>
then deploy the application and Run然后部署应用程序并运行
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.