Comments (4)
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.
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.
@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.
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)
- Failed to Configure Permissions forDaemon app HOT 2
- Issue with API hosted in Azure as App Service HOT 2
- Why ClaimScope Always Getting Null ? HOT 1
- NuGet Package restore failed for project HOT 1
- Group Claim HOT 1
- Issue in 'How to run this sample' instructions HOT 5
- Project doesn't build from CLI, builds from VS, but Intellisense doesn't believe it (Microsoft.IdentityModel namespace issue) HOT 5
- Where is the "require user assignments" mentioned in the setup step 8 [optional] HOT 1
- handshake failed due to an unexpected packet format HOT 3
- Broken links in the Instructions HOT 1
- System.AggregateException HOT 9
- Instructions use a delegated permission whereas they should use an app permission HOT 1
- Tenant Name vs id HOT 1
- missing check on claim roles HOT 3
- Cannot complete manual steps at end. Error: AADSTS650056 HOT 5
- Can you clarify a step in the README.md? HOT 4
- The underlying connection was closed: An unexpected error occurred on a send. HOT 7
- Is new sample link pointing to an incorrect sample? HOT 1
- Doesn't seem to authorize as of late HOT 2
- Can't get scopeClaim HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from active-directory-dotnet-daemon.