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.

Blazor webassembly azure ad authentication issue after migration to .net5

See original GitHub issue

Blazor webassembly azure ad authentication issue after migration to .net5

Error: AADSTS28000: Provided value for the input parameter scope is not valid because it contains more than one resource. Scope https://graph.microsoft.com/User.Read api://861be009-5e73-4c6c-a095-b6e193522222/API. Access openid profile is not valid.

Scope Code(web assembly):

builder.Configuration.Bind("AzureAd", options.ProviderOptions.Authentication);
    options.ProviderOptions.DefaultAccessTokenScopes.Add("https://graph.microsoft.com/User.Read");
    options.ProviderOptions.DefaultAccessTokenScopes.Add("api://861be009-5e73-4c6c-a095-b6e193522222/API.Access");

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
rubeeshcommented, Jan 13, 2021

@rubeesh Did you get a resolution for this? Resolved. https://github.com/guardrex/HostedWASM50AADGroupsAndRolesSample

0reactions
javiercncommented, Jan 13, 2021

@rubeesh Did you get a resolution for this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Blazor webassembly azure ad authentication issue after ...
Blazor webassembly azure ad authentication issue after migration to .net5. Error: AADSTS28000: Provided value for the input parameter scope ...
Read more >
Blazor webassembly azure ad authentication issue after ...
Coding example for the question Blazor webassembly azure ad authentication issue after migration to .net5-blazor.
Read more >
ASP.NET Core Blazor authentication and authorization
In Blazor WebAssembly, authentication checks can be bypassed because all client-side code can be modified by users. The same is true for all ......
Read more >
How to Build and Secure Web Applications with Blazor
Learn how to build client-side Web apps using Blazor and how to secure them with Auth0 authentication and authorization features.
Read more >
Using Azure Active Directory to Secure a Blazor ... - YouTube
In this video, I'll guide you through the step-by-step process of securing your Blazor WebAssembly app with Azure Active Directory.
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