matvelloso / angularjscors Goto Github PK
View Code? Open in Web Editor NEWExample of Angular JS SPA using ADAL.JS for calling a secure, Azure Active Directory authenticated ASP.Net Web API
Example of Angular JS SPA using ADAL.JS for calling a secure, Azure Active Directory authenticated ASP.Net Web API
Hi there,
this is not an issue, this is a request, but your example is one of the closest I have been looking for after several days.
Can you please update your example to show how you could get the roles or groups populated in the adal.js token and then use these for authorization in the webapi backend? For some reason I can find very little information on how this can be done
cheers
Step 2, "remember to use the class ID from the client application you created", what are you talking about? Are you referring to the client ID of the AAD instance created for the client? Are you supposed to change the "id" field under OAuthPermission to match the client ID of the client AAD instance?
Neither work, so what exactly is supposed to be done, if anything.
Your README instructs users to update their API's manifest.. I'm getting an error if I try to add origin
into my oauth2Permissions
node. They must have changed the schema for this since you first published this to github
Furthermore, at least in my case, my app's manifest already features a oauth2Permissions
that seems like I can't edit whatsoever. If I try to update the id to match my client id, it complains 'CannotDeleteEnabledEntitlement'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.