JKamsker
JKamsker

Reputation: 312

Blazor OIDC Authentication popup

Problem

When I'm trying to use the RemoteAuthenticatorView in combination with OIDC, the page only redirects to the identityserver4 website

Expected outcome

A popup should be opened with the identityserver's content.


In contrast, AddMsalAuthentication provides a options.ProviderOptions.LoginMode (Docs)

Is there something similar for AddOidcAuthentication ?

Resources that I use to reproduce this issue:

Upvotes: 1

Views: 657

Answers (1)

Nicola Biada
Nicola Biada

Reputation: 2800

The Identity Server 4 comes with a standard set of cshtml files.
It hasn't any "popup" ready mode out of the box.

If you want to implement the same behaviour as MSAL, you need to develop an integration via javascript like the one referenced in the index.html when you use Azure AD B2C authentication with Blazor.

Upvotes: 0

Related Questions