Closed peymanebrahimi closed 8 years ago
I have a cordova demo at https://github.com/markphillips100/oidc-cordova-demo which uses angular 1. There's an angular provider https://github.com/markphillips100/oidc-cordova-demo/blob/master/src/Oidc.Demo.Cordova/www/app/js/services/angular-oidc-client.js which is really baked from Brock's and others work. Is that what you are looking for?
Mark, these link is very helpful, a good start reference for angular, it uses the oidc-client nicely, would love to see updates & fixes.
Feel free to enhance this for angular2. Provide a link when you have and we can link to it in the docs.
I am using this library in angular js and I am using signInRedirect when app start, I wanna know how to check if the user already has a token using the oidc-client.js library without redirecting to to Identity Server
@Condor2708 you can use querySessionStatus
: https://github.com/IdentityModel/oidc-client-js/wiki
how can we replace this with old oidcTokenmanager in projects like: https://github.com/IdentityManager/IdentityManager/blob/master/source/Core/Assets/Scripts/App/ttIdm.js specially in this section:
how can it be rewritten?