Blazor server app with Azure AD B2C authentication

arun singh 111 Reputation points
2021-04-13T18:38:39.593+00:00

Hi while trying to launch my app with Azure AD enabled i get the following error:

Error.
An error occurred while processing your request.
Request ID: 00-fca99c8b40b49d4798e8f0ce2e129ea9-3b940a54171b6045-00

Development Mode
Swapping to Development environment will display more detailed information about the error that occurred.

Development environment should not be enabled in deployed applications, as it can result in sensitive information from exceptions being displayed to end users. For local debugging, development environment can be enabled by setting the ASPNETCORE_ENVIRONMENT environment variable to Development, and restarting the application.

There is no issue with Dev being turned on as it is on.
And also if try to use any other authentication or no authentication the build is successfull but not with Azure B2C.
What can be the reason?

Thanks for help in advance!

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,398 questions
Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,654 questions
0 comments No comments
{count} vote

Accepted answer
  1. arun singh 111 Reputation points
    2021-04-13T21:11:45.867+00:00

    I found the issue In Azure AD i need to select
    issue token option for "Select the tokens you would like to be issued by the authorization endpoint:".

    I had selected the other one.

    2 people found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful