Skip to content
This repository has been archived by the owner on Jun 26, 2021. It is now read-only.

Globals #443

Closed
unindented opened this issue Nov 18, 2016 · 11 comments
Closed

Globals #443

unindented opened this issue Nov 18, 2016 · 11 comments

Comments

@unindented
Copy link

Why does adal-angular expose globals? It stops me from importing the module normally through require or import.

Also, why not separate adal from adal-angular? Makes no sense to import adal-angular on a react project...

@rohitnarula7176 rohitnarula7176 self-assigned this Dec 8, 2016
@brentschmaltz brentschmaltz added this to the 1.0.14 milestone Feb 6, 2017
@brentschmaltz
Copy link
Member

@rohitnarula7176 can we get this into 1.0.14 seems to be a hassle for users.

@jamesgraham
Copy link

Hi, is there any update on when this might happen?

@jmprieur
Copy link

adal is separated from adal-angular, and you can use plain adal.js. Please have a look at this sample: https://github.com/Azure-Samples/active-directory-dotnet-webapi-onbehalfof/tree/additionalClaimsSupport/TodoListSPA

We still need to update the README.md file to promote the plain JavaScript implementation, though.

@jamesgraham
Copy link

jamesgraham commented Jul 25, 2017 via email

@jmprieur
Copy link

@jamesgraham : Unless I'm wrong, it is already? https://www.npmjs.com/package/adal-angular
(the angular package contains both the scripts for adal.angular and adal.js)

@jamesgraham
Copy link

jamesgraham commented Jul 26, 2017 via email

@pauldalyii
Copy link

I second @jamesgraham's comments. I'm working with react and don't want to unnecessarily pull in an angular dependency.

@jmprieur, would you consider reopening this? Could the adal-angular npm package take a dependency on a new adal only package?

@jmprieur
Copy link

jmprieur commented Oct 5, 2017

@jmprieur jmprieur reopened this Oct 5, 2017
@RehanSaeed
Copy link

I would go further and split this repo so we can have a ReadMe dedicated to adak.js too. I've raised #659 to this effect.

@pauldalyii
Copy link

Is there a rough timeline for either this or #659?

@sameerag
Copy link
Member

All current authentication work from microsoft is delivered through msal js library here. adal js is still supported only for security fixes. We would recommend to move to msal js for any advanced feature asks.

msal js angular work is in progress; please watch the space here and we appreciate any feedback on angular in that space.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

9 participants