Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4.5.1 > BOOK: Professional ASP.NET MVC 5
|
BOOK: Professional ASP.NET MVC 5
This is the forum to discuss the Wrox book Professional ASP.NET MVC 5 by Jon Galloway, Brad Wilson, K. Scott Allen, David Matson; ISBN: 978-1-118-79475-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET MVC 5 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 5th, 2014, 07:53 PM
Registered User
 
Join Date: Nov 2014
Posts: 8
Thanks: 4
Thanked 1 Time in 1 Post
Default Is there an update to the OpenID configuration?

In chapter 7, when they get to the point of talking about configuring OpenID providers they list the following code in the Startup.Auth.cs file:

Code:
app.UseGoogleAuthentication();
However, when I look at the code in my Startup.Auth.cs file I see the following:

Code:
app.UseGoogleAuthentication(new GoogleOAuth2AuthenticationOptions()
{
    ClientId = "",
    ClientSecret = ""
});
Has been there an update to the way the Google OpenID provider is handled, since the publication of the book?
 
Old January 11th, 2015, 01:24 AM
Wrox Author
 
Join Date: Oct 2006
Posts: 36
Thanks: 1
Thanked 5 Times in 5 Posts
Default

Google deprecated their OpenID authentication, switching to OAuth. You'll not that your code sample shows Google OAuth2.

https://developers.google.com/accounts/docs/OpenID

More info here:
http://blogs.msdn.com/b/webdev/archi...c-release.aspx

Last edited by JonGalloway; January 11th, 2015 at 02:58 AM.. Reason: Added link
The Following User Says Thank You to JonGalloway For This Useful Post:
rfalanga (January 13th, 2015)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Gridview Update not firing in Update Panel akshay144 Ajax 1 August 13th, 2009 10:20 AM
update multiple columns in an update statement debbiecoates SQL Server 2000 1 August 17th, 2008 04:01 AM
Configuration error exstream ASP.NET 2.0 Professional 2 July 2nd, 2006 02:52 AM
about php configuration spbharti PHP Databases 4 February 13th, 2006 03:33 PM
Module Configuration shylockmccoy BOOK: ASP.NET Website Programming Problem-Design-Solution 0 February 24th, 2004 04:24 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.