2016-07-14 97 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

相關問題