IdentityModel / oidc-client-js

OpenID Connect (OIDC) and OAuth2 protocol support for browser-based JavaScript applications
Apache License 2.0
2.43k stars 840 forks source link

AngularJS 1.5x PKCE flow #1195

Closed vchinthakunta closed 3 years ago

vchinthakunta commented 4 years ago

Hey guys,

I'm working on integrating my angular 1.x app with oidc-client-js to implement the PKCE flow, I've already been able to integrate the dependency with a React app successfully, but having issues in the angularJS/bower framework. Is there any sample app implementing AngularJS and oidc-client-js that I can refer to? One of the main issues I have is not being able to inject the UserManager/WebStorage classes, since the app since it is not defined as an angular module. P.S: I'm new to the Angular 1.x framework :)

Thanks in advance!

-Vishal Chinthakunta.

brockallen commented 4 years ago

Look in the samples directory, but they're not Angular 1.x.