AzureAD / microsoft-authentication-library-for-js

Microsoft Authentication Library (MSAL) for JS
http://aka.ms/aadv2
MIT License
3.66k stars 2.65k forks source link

Angular Ivy distribution #4298

Closed hartmair closed 1 year ago

hartmair commented 2 years ago

Core Library

MSAL.js v2 (@azure/msal-browser)

Wrapper Library

MSAL Angular (@azure/msal-angular)

Description

When compiling with Angular 13, the following pops up:

$ ng serve ⠙ Generating browser application bundles (phase: setup)...Processing legacy "View Engine" libraries:

Source

External (Customer)

tnorling commented 1 year ago

Closing as msal-angular v3 has been released, which supports Ivy. If you run into any specific issues with the new build please let us know by opening a new issue. Thanks!

SathishRavichandran commented 10 months ago

How to make msalv1 to work with Angular 16 is there any workaround

msal.module.d.ts(7, 13): This likely means that the library (@azure/msal-angular) which declares MsalModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.

sandrooco commented 10 months ago

How to make msalv1 to work with Angular 16 is there any workaround

No there is no workaround. Try to update to the current V3+ versions - it shouldn't be a big thing (API didn't change drastically).

JimbobTheSailor commented 10 months ago

When it come to MSAL, don’t develop on anything less than the latest version. MSAL It is a complex thing to program and get working in an office addin, don’t waste your development time on a lower version

On Mon, 18 Dec 2023 at 7:02 pm, Sandro @.***> wrote:

How to make msalv1 to work with Angular 16 is there any workaround

No there is no workaround. Try to update to the current V3+ versions - it shouldn't be a big thing (API didn't change drastically).

— Reply to this email directly, view it on GitHub https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/4298#issuecomment-1859725825, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGDFAOZEUTVU5CPCJNCHY4LYJ72A3AVCNFSM5JGTKHCKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBVHE3TENJYGI2Q . You are receiving this because you commented.Message ID: <AzureAD/microsoft-authentication-library-for-js/issues/4298/1859725825@ github.com>