2016-07-14 119 views
2

我已经做了一些研究,发现以下是可用于oAuth2 + AngularJs的框架。哪个客户端框架(angularjs + oauth2)与identityserver3一起使用

  1. satellizer - https://github.com/sahat/satellizer(上次提交今天)
  2. OAuth的纳克 - https://github.com/angularjs-oauth/oauth-ng(上次提交30君2016)
  3. 角的oauth2 - https://github.com/oauthjs/angular-oauth2(上次提交12-FEB-2016)
  4. AngularJS-的OAuth2 - https://github.com/JamesRandall/AngularJS-OAuth2(上次提交15-MAR-2016)
  5. 角的OAuth - https://github.com/angular-oauth/angular-oauth(上次提交18日 - 12月2014)

位不清,哪一个可以正常工作identityserver3。你的建议是什么?有没有其他最好的框架可用?

+0

这个怎么样:https://github.com/IdentityModel/oidc-client-js –

+0

布洛克艾伦感谢您的输入,你建议https://github.com/markphillips100/oidc-cordova-demo/ blob/master/src/Oidc.Demo.Cordova/www/app/js/services/angular-oidc-client.js这个实现?从这个链接发现https://github.com/IdentityModel/oidc-client-js/issues/69 – Sivalingaamorthy

+0

布洛克,任何想法在https://github.com/michaelschnyder/oidc-angular,它说与ids3兼容。你对这些框架有什么建议吗? – Sivalingaamorthy

回答

0

我使用了Brock Allen提出的客户端框架(https://github.com/IdentityModel/oidc-client-js)。我能够继续执行。

还发现了一个有趣的AngularJs模块,写在oidc-client之上 - https://github.com/markphillips100/oidc-cordova-demo/blob/master/src/Oidc.Demo.Cordova/www/app/js/services/angular-oidc-client.js

+0

你有关于如何实现它的一些片段吗?实际上,该示例与用于移动设备的cordova混合应用程序相结合,如果您移除了cordova配置,它只会在登录弹出窗口中加载角度应用程序的主页面。我肯定错过了一些东西。 – CesarD

+0

我已经实现了oidc-client-js,我正在玩(cordova)angular-oidc-client.js,但没有完成完整的实现。我会建议去用oidc-client-js。 – Sivalingaamorthy

相关问题