GithubHelp home page GithubHelp logo

Comments (4)

skwan avatar skwan commented on July 2, 2024

Today Azure AD does not send scope claims when using the client credentials OAuth flow. The daemon samples use client credentials (as opposed to a delegated OAuth flow, like the authorization code flow or the on behalf of flow). The configuration UX is unfortunately misleading because you can set what looks like a scope to be sent, but nothing get sent. We are working on adding support for this scenario. Net, for now you will need to make authorization decisions based on just the claims you receive in the access token.

from active-directory-dotnet-daemon.

npnelson avatar npnelson commented on July 2, 2024

I usually don't leave a simple "thank you" comment because it adds noise, but I just wanted to say I am very thankful for your quick and thorough response (and especially for saying you are working on adding support for this scenario). We just started using Azure and so far, I am pretty impressed (except for the Portal UIs).

Thanks again, keep up the good work!

from active-directory-dotnet-daemon.

cwe1ss avatar cwe1ss commented on July 2, 2024

@skwan Has there been any progress on this? Can I get the scope/permissions somehow in a client_credentials call?

from active-directory-dotnet-daemon.

jmprieur avatar jmprieur commented on July 2, 2024

Scopes are about the AAD V2 endpoint (which you get access to using MSAL.Net). this sample is about the AAD V1 endpoint (which you get access token to using ADAL.NET).

from active-directory-dotnet-daemon.

Related Issues (20)

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.