Coder Social home page Coder Social logo

matvelloso / angularjscors Goto Github PK

View Code? Open in Web Editor NEW
15.0 15.0 9.0 508 KB

Example of Angular JS SPA using ADAL.JS for calling a secure, Azure Active Directory authenticated ASP.Net Web API

JavaScript 8.61% HTML 5.89% C# 83.91% CSS 1.53% ASP 0.06%

angularjscors's People

Contributors

jongalloway avatar matvelloso avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

angularjscors's Issues

Please can the example include role based access???

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

What's a Class ID?

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.

Azure AD Tenant Manifest's oauth2Permissions no longer supports 'orgin':'Application'

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'

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.