Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Google Authentication ProjectGoogle Authentication Project
Previous
 
Next
New Post
12/23/2014 1:09 PM
 
It appears my last entry was not accepted, so I am rewriting.....

I started with a clean server, clean IIS 7.5/MSSQL 12/.Net 4.0/Win Server 2008 R2 and followed Chris Hammond's 4 part video install to the letter. DNN 7.3.4 successfully installed. I then enabled Google Authentication, entered my Google Developer credentials. As before, I get the Google consent screen but get the below error when DNN attempts to use Google's returned information.

Does anyone have this module working? Is there no better documentation.... any other configuration settings I am missing? Please assist....




InnerException:Value cannot be null. Parameter name: input
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:System.Web.Script.Serialization.JavaScriptSerializer.Deserialize
StackTrace:
Message:
DotNetNuke.Services.Exceptions.PageLoadException: Value cannot be null.
Parameter name: input ---> System.ArgumentNullException: Value cannot be null.
Parameter name: input
at System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(JavaScriptSerializer serializer, String input, Type type, Int32 depthLimit)
at DotNetNuke.Authentication.Google.Components.GoogleClient.GetToken(String responseText)
at DotNetNuke.Services.Authentication.OAuth.OAuthClientBase.ExchangeCodeForToken()
at DotNetNuke.Services.Authentication.OAuth.OAuthClientBase.AuthorizeV2()
at DotNetNuke.Services.Authentication.OAuth.OAuthLoginBase. (EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
--- End of inner exception stack trace ---
 
New Post
12/23/2014 1:10 PM
 

It appears my last entry was not accepted, so I am rewriting.....

I started with a clean server, clean IIS 7.5/MSSQL 12/.Net 4.0/Win Server 2008 R2 and followed Chris Hammond's 4 part video install to the letter. DNN 7.3.4 successfully installed. I then enabled Google Authentication, entered my Google Developer credentials. As before, I get the Google consent screen but get the below error when DNN attempts to use Google's returned information.

Does anyone have this module working? Is there no better documentation.... any other configuration settings I am missing? Please assist....

InnerException:Value cannot be null. Parameter name: input
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:System.Web.Script.Serialization.JavaScriptSerializer.Deserialize
StackTrace:
Message:
DotNetNuke.Services.Exceptions.PageLoadException: Value cannot be null.
Parameter name: input ---> System.ArgumentNullException: Value cannot be null.
Parameter name: input
   at System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(JavaScriptSerializer serializer, String input, Type type, Int32 depthLimit)
   at DotNetNuke.Authentication.Google.Components.GoogleClient.GetToken(String responseText)
   at DotNetNuke.Services.Authentication.OAuth.OAuthClientBase.ExchangeCodeForToken()
   at DotNetNuke.Services.Authentication.OAuth.OAuthClientBase.AuthorizeV2()
   at DotNetNuke.Services.Authentication.OAuth.OAuthLoginBase. (EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   --- End of inner exception stack trace ---

 
New Post
12/24/2014 6:07 PM
 
sorry, i havent used that provider in years - have you enabled an application (http://www.aubrett.com/InformationTec...)?

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
12/29/2014 7:09 AM
 
Hello,

I appreciate the links, however I am way beyond your suggestions. Again, Google is acknowledging my request, it is the DNN module throwing the error. Is there no one else with an intricate knowledge of this DNN base module that can assist? I find it very hard to believe a default DNN module has so little documentation. Does no one have any better suggestions than a simplistic install overview?
 
New Post
1/14/2015 6:08 PM
 

Hello,

I was working on this today and discovered that Google has updated the information it requires (without documenting it well) , after a fair amount of legwork I found the issue:

When you create an oauth project (i.e. https://console.developers.google.com...), google generates you a project id e.g. "scientific-reef-824". If you click that project id, you will see the main administration section and you can create a client ID. By default this generates a project name (in my case "dotnetnuke"), as well as the necessary keys. At this point it seems you have everything you need, but if you just add the clientID and client secret into DNN's google auth provider you will get the errors above.

To make everything work, you need to click the "Consent screen" section of the Google Developers Console for your project. Look under APIs & auth in the left navigation and select Consent screen. Update the product name field to match the project id i.e. in my case I changed "dotnetnuke" to "scientific-reef-824" and everything worked


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Google Authentication ProjectGoogle Authentication Project


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out