Products

Solutions

Resources

Partners

Community

About

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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationDNN UserID after authentication with GoogleDNN UserID after authentication with Google
Previous
 
Next
New Post
11/27/2016 2:11 PM
 
Hi,
I configured the Google Authentication extension  (Created an app in Google with the required URLs and copied the ClientID and secret to the DNN configuration)
Everything seems to be working fine. When I click the google button on the login screen, I go to Google to allow access and get redirected to my web site and now I'm logged in. Fine. The only strange thing is that my custom modules are using the DNN UserID to figure out what to show on the screen. I was already registered and have an existing DNN userId. After the OAuth dance I am authenticated by my app can't find anything for this user. So either DNN created a new user with a new UserID or did something else.... Is there a way to get the DNN UserID after OAuth authentication? (I'm still on DNN 7.4.0). Thanks!
 
New Post
11/27/2016 3:20 PM
 

 

For anyone new to OAuth (like me...), I figured out that DNN indeed creates a new user when you authenticate via Google. For instance, if you register with your [email protected] account, DNN creates a new user with [email protected] as user name and [email protected] as email address.

This user is completely different from a user already registered on the same site through DNN registration with [email protected] as username and email address. (which now makes sense but was not what I was expecting).

 

So adding the Google button on my login page will be confusing for my users since they think they can now easily login via Google... but won't see any of their data after they login.

 

 

 
New Post
12/1/2016 6:47 PM
 
unfortunately, the Google authentication provider for DNN hasn't been updated for a loooooooooooooooooooooooooonnnnnnnnnnnnnnnnnnnnnnnnnggggggggggggg time.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationDNN UserID after authentication with GoogleDNN UserID after authentication with Google


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