blazor-server-aad-sample icon indicating copy to clipboard operation
blazor-server-aad-sample copied to clipboard

What is resource meant to be set to?

Open kees86 opened this issue 5 years ago • 2 comments

In this demo what is the resource (in the settings, scope, resource) to be set to?

Would that be the https://.onmicrosoft.com/{guid}? (API App registration in Azure)?

Would this example also work for AzureB2C?

kees86 avatar Apr 14 '20 11:04 kees86

+1 on both questions. Any chance we can get a dedicated B2C sample?

tjopsta avatar Apr 18 '20 18:04 tjopsta

I have a B2C application with this code working and didn't need to set the resource value at all.

There is only one modification needed for this to work with B2C in Startup.cs, explained on @javiercn 's site here.

ataraxia89 avatar Sep 21 '21 11:09 ataraxia89