<%@ Page Language="VB" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage(Of $safeprojectname$.RegisterExternalLoginModel)" %> Register with your <%: ViewData("ProviderDisplayName") %> account

Register.

Associate your <%: ViewBag.ProviderDisplayName %> account.

<% Using Html.BeginForm("ExternalLoginConfirmation", "Account", New With { .ReturnUrl = ViewData("ReturnUrl") }) %> <%: Html.AntiForgeryToken() %> <%: Html.ValidationSummary(true) %>
Association Form

You've successfully authenticated with <%: ViewData("ProviderDisplayName") %>. Please enter a user name for this site below and click the Confirm button to finish logging in.

  1. <%: Html.LabelFor(Function(m) m.UserName) %> <%: Html.TextBoxFor(Function(m) m.UserName) %> <%: Html.ValidationMessageFor(Function(m) m.UserName) %>
<%: Html.HiddenFor(Function(m) m.ExternalLoginData) %>
<% End Using %>
<%: Scripts.Render("~/bundles/jqueryval") %>