<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="loginPlusOAuth.aspx.cs" Inherits="OpenIdRelyingPartyWebForms.loginPlusOAuth" ValidateRequest="false" MasterPageFile="~/Site.Master" %> <%@ Register Assembly="DotNetOpenAuth" Namespace="DotNetOpenAuth.OpenId.RelyingParty" TagPrefix="rp" %>

Login Page

Important note: Do not check the "Allow [this site] to remember me" check box while Google is asking for verification. Doing so will make this sample only work once for your account. If you do check it, you can restore this sample's functionality by revoking access to this site from your Google Account.

Due to the way Google matches realms and consumer keys, this demo will only work when it is run under http://demo.dotnetopenauth.net/. By registering your own consumer key with Google and changing the configuration of this sample, you can run it on your own public web site, but it can never work from a private (localhost or firewall-protected) address.

Authentication succeeded, but Gmail Contacts access was denied. Authentication failed or was canceled.