Coder Social home page Coder Social logo

kkoziarski / angular-adal-example Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 7.0 307 KB

Angular Azure AD example using ng2-adal

TypeScript 58.74% JavaScript 4.97% HTML 13.54% CSS 0.24% C# 22.37% Batchfile 0.14%
ng2-adal angular2-adal angular azure-active-directory azure-ad authentication

angular-adal-example's Introduction

Hello World 👋

Linkedin Badge Twitter Badge GitHub GitHub.io

I'm Krzysztof! Fullstack Dev | .NET & JavaScript Enthusiast | Code Fanatic

  • 🔭 I’m currently working as Senior .NET Developer
  • 🌱 I’m currently playing with Polyglot Notebooks and algorithms
  • 💬 Ask me about anything, I'm happy to help ✌️
  • 📫 How to reach me: use the badges above
  • 😄 Pronouns: he/him/his
  • 💻 Fun of Windows Terminal and 🧨oh-my-posh
  • ⚡ Fun fact: Equal is Not Always Equal in Javascript

🛠 Tech Stack

CSharp .NET

JavaScript TypeScript HTML5 CSS3 Bootstrap Angular React

SQL Server MongoDB PostgreSQL CosmosDB

VS VSCode Windows PowerShell Bash Git

Azure Azure DevOps Docker Kubernetes Redis


kkoziarski's GitHub Stats

angular-adal-example's People

Contributors

angular-cli avatar kkoziarski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

angular-adal-example's Issues

Renew ad tokeb

How to renew token ? I am not able to get new token. once access token gets expire

ERROR "Calling function 'ɵmakeDecorator', function calls are not supported." on production build

Hi.

Thank you for the example. I've just tried it and works good, but the Frontend.Angular fails on production build:

ng build --prod

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 ..../no
de_modules/ng2-adal/node_modules/@angular/core/core.d.ts, resolving symbol ɵe in ..../node_modules/ng2-adal/node_modules/@angular/core/core.d.ts, resolving symbol ɵe in ..../node_modules/ng2-adal/node_modules/@angular/core/core.d
.ts

Do you have any idea how to fix it?

P.S. the error disappear if I switch off aot (>> ng build --prod --aot=false), but it's not the appropriate solution

Thanks,
Sujit

Getting Token however my CORS api denies with 401

Thank you so much for a nice sample.. Really appreciate that. However, I am having issue with connecting to my application api. which runs on a different domain thought. getting 401 authorization denied. My old angular JS application can consume the same end point without any issues. (its using angular-adal.js 1.0.13).

Any clues or thoughts on this?.

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.