Radzen Login with Blazor

Hi, I'm trying to figure out how to use the Radzen login component with my Blazor application outside of the Radzen UI, however, there doesn't seem to be very much documentation on this. Does anybody have a brief rundown of how to link the login to my existing Identity login service?

You can use Login event to execute your service or you can put login component as a child of a form to submit to your controller:


<form method="post" action="account/login">
 <RadzenContent Container="main">
  <ChildContent>
    <RadzenHeading Size="H1" Text="Login">
    </RadzenHeading>
    <div class="row">
      <div class="col-md-12">
        <RadzenLogin AllowResetPassword="false" Register="@Login0Register">
        </RadzenLogin>
      </div>
    </div>
  </ChildContent>
 </RadzenContent>
</form>

1 Like