Giter Club home page Giter Club logo

angular-adal-quickstart's People

Contributors

ranveeraggarwal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

angular-adal-quickstart's Issues

Not working for Azure B2C AD using a SignIn policy

This is working only for Azure B2B AD and not for Azure B2C AD. I need to provide the B2C SignIn policy. (1) How can I make it work with B2C Azure AD? (2) How can I fetch the Token as a string as I need to pass the Bearer token to authenticate & call a REST service? (3) How do I list the claims?

App not redirected nor localStorage updated with token for Microsoft Edge

Hi! I noticed the application is not redirected to the dashboard page after log in. The authentication process seems to work, as the token is returned. But localStorage is not updated with the token.
Thanks.

What I did:

  • git clone
  • rename secrets
  • npm install
  • npm start
  • Open in Microsoft Edge 41.16299.248.0

Add automated testing + build

It'll be really helpful if tests can be written for this and travis integrated with this.
I am not working on this repository anymore, so if someone is ready to take this up, I will add that person as a permanent collaborator (if interested).

Webpack + Angular 2/4 : prod build failure

Hi,

I am trying to integrate this package with a brand new Angular 2 app (using "@angular/core": "^4.1.2" in package.json). I'm using webpack to do the build instead of SystemJs.

Local dev build with ng build and ng serve is working fine but prod build with ng build --prod --aot fails with the following error.

ERROR in Error encountered resolving symbol values statically. Calling function 'makeDecorator', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol Injectable in c:/path-to-my-project/node_modules/ng2-adal/node_modules/@angular/core/src/di/metadata.d.ts, resolving symbol Injectable in c:/path-to-my-project/node_modules/ng2-adal/node_modules/@angular/core/src/di.d.ts, resolving symbol Injectable in c:/path-to-my-project/node_modules/ng2-adal/node_modules/@angular/core/src/core.d.ts, resolving symbol Injectable in c:/path-to-my-project/node_modules/ng2-adal/node_modules/@angular/core/index.d.ts, resolving symbol BrowserXhr in
c:/path-to-my-project/node_modules/ng2-adal/node_modules/@angular/http/src/backends/browser_xhr.d.ts, resolving symbol BrowserXhr in c:/path-to-my-project/node_modules/ng2-adal/node_modules/@angular/http/src/backends/browser_xhr.d.ts

Is this because the package is built using older Angular version? Is there a way I can get around it or fix it?

Login undefined

Seems like adalContext is null somehow. Take a look into source file line 61.
ERROR TypeError: Cannot read property 'login' of undefined
at AdalService.webpackJsonp.../../../../ng2-adal/dist/services/adal.service.js.AdalService.login (adal.service.js:61)
I am using it with Ang v5.0

Karma/Jasmine Tests

What's the process of getting the ng2-adal package to work with the Karma/Jasmine tests? When you include it as a service in a spec file, it can't fine the .js files in the node module.

npm start fails - need help

After successfully running the npm install, npm start gives the following error

17 error Windows_NT 10.0.14393 18 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start" 19 error node v6.10.0 20 error npm v3.10.10 21 error code ELIFECYCLE 22 error [email protected] start: tsc && concurrently "tsc -w" "lite-server" 22 error Exit status 2 23 error Failed at the [email protected] start script 'tsc && concurrently "tsc -w" "lite-server" '. 23 error Make sure you have the latest version of node.js and npm installed. 23 error If you do, this is most likely a problem with the angular-quickstart package, 23 error not with npm itself. 23 error Tell the author that this fails on your system: 23 error tsc && concurrently "tsc -w" "lite-server" 23 error You can get information on how to open an issue for this project with: 23 error npm bugs angular-quickstart 23 error Or if that isn't available, you can get their info via: 23 error npm owner ls angular-quickstart 23 error There is likely additional logging output above.

Npm and node version below

`ng2-adal-QuickStart-master>npm --version
3.10.10

ng2-adal-QuickStart-master>node --version
v6.10.0`

Angular 5 support?

Since now Angular 5 is latest, it seems that ngx-adal does not work with Angular 5 nice.
Can you check and fix?

MFA not available

Why is there no option to select for multi factor authentication while logging in? Am I missing something here?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.