Blazor webassembly azure ad authentication issue after migration to .net5
See original GitHub issueBlazor 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:
- Created 3 years ago
- Comments:10 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@rubeesh Did you get a resolution for this?