question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Request] WAM support for no scopes

See original GitHub issue

Logs and network traces none

Which version of MSAL.NET are you using? latest

Platform any

Repro

var authResult = await pca.AcquireTokenInteractive(new[] { "" })
                                          .ExecuteAsync();

Expected behavior Friendly exception

Actual behavior Flow proceeds and results in unfriednly exceptions

Fix: authenticationRequestParameters.HasScopes returns true if empty string is passed as scopes

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
gladjohncommented, Dec 1, 2022

@azchohfi can you please start an email thread with our team for the requirement you have on no scopes, so we can better understand the situation

1reaction
pmaytakcommented, Dec 1, 2022

@gladjohn @bgavrilMS Will C++ layer be updated to accept empty (or msal only) scopes? Couldn’t find a related issue in DevOps.

cc: @azchohfi

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using MSAL.NET with Web Account Manager (WAM)
MSAL is able to call Web Account Manager (WAM), a Windows component that ships with the OS. This component acts as an authentication...
Read more >
How to get scope list from service for specifying with client ...
1 Answer 1 · How do I know what version of the endpoint that I am using? · It depends on the token...
Read more >
Adding OAuth scope rules - PingAccess - 6.3
Add an OAuth scope rule to examine the contents of the PingFederate validation response and determine whether to grant access to a backend...
Read more >
2022 WAM RFQ: Questions & Answers August 5, 2022
1: While each scope of work will be project-specific, it is anticipated that requests for surveying will be limited to surveying the locations ......
Read more >
WAM - Modernization and Migration Guide
Learn about how Okta securely connects users to any web apps: from cloud and mobile apps, to enterprise apps traditionally protected by WAM...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found