Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
OpenID Authentication Details »»
OpenID Authentication
Version: 1.00, by wnorris wnorris is offline
Developer Last Online: Jan 2016 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 07-10-2006 Last Update: Never Installs: 13
Uses Plugins Template Edits
 
No support by the author.

I've finished a first draft of an add-on to support OpenID Authentication. This requires no code changes and only one template change. The caveat however, is that it does require two third party libraries to handle the OpenID and Yadis protocols. I've only tested it on 3.5.4, but I'm pretty sure it should work in 3.6 (RC1) as well.

Right now, this add-on allows existing users to populate a custom profile field with their OpenID URL, and then use that for subsequent logins. This does NOT allow new users to register with their OpenID... they will still need to create an initial password and such as normal. I'd like to change that in a future release.

If you're not familiar with OpenID, check out http://openid.net/

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 01-21-2008, 10:07 PM
cheesegrits's Avatar
cheesegrits cheesegrits is offline
 
Join Date: May 2006
Posts: 500
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yup, only I'm using class.openid.v2.php. I'm still in two minds as to whether to stick with it, or use the no doubt more mainstream JanRain stuff.

Yes, I'm doing registration. I just re-organized the regular registration page a little to put the CAPTCHA at the top, as we want to process that regardless, then an either / or for OpenID or specifying the regular details as normal.

Then one plugin one the start hook that just handles the referering and response from OpenID, grabbing the response data, creating a random password, and finagling the $_POST variables for 'addmember' appropriately. And one on the stop hook to associate the OpenID identity with the new user.

The one thing I don't like about wnorris's code is that it relies on using a standard login with blank password, and catching the authentication failure. I much prefer having an explicit OpenID field in the login form, and taking a separate route through the code. No disrespect to wnorris, his is a perfectly workable way of doing it. I just prefer to stick to the OpenID standard UI, and making it a separate, clearly labeled option.

Have you seen this page:

http://www.plaxo.com/api/openid_recipe

... which suggests allowing the users to attach multiple openid's to their account. I'm assuming this is as a fallback in case their primary povider is down for some reason? I can't think of any other reason for needing more than one OpenID associated with a given bb account?

-- hugh
Reply With Quote
  #23  
Old 01-22-2008, 06:21 PM
tcviper tcviper is offline
 
Join Date: Jun 2007
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you share the plugin so we can let people either register or connect their already existing vb account with their openid one?
Reply With Quote
  #24  
Old 01-22-2008, 11:22 PM
cheesegrits's Avatar
cheesegrits cheesegrits is offline
 
Join Date: May 2006
Posts: 500
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think szpak's version is the one that should be released, as he's building on the existing wnorris code which uses the more "official" JanRain libraries. Mine was more of a personal experiment, I just wanted to play with openid. But I would be more than willing to help support and continue development with szpak, if he would like. There's lots of goodies coming down the pike with OpenID, and I'm very interested in keeping up with developments.

So I guess the main issue is we need to try and get hold of wnorris, and get permission to re-use his code, and re-release as a new version with the registration and openid account attaching / detaching.

-- hugh
Reply With Quote
  #25  
Old 05-27-2008, 03:23 PM
thompson thompson is offline
 
Join Date: Jul 2007
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any news about that ?
Reply With Quote
  #26  
Old 06-01-2008, 05:05 PM
cheesegrits's Avatar
cheesegrits cheesegrits is offline
 
Join Date: May 2006
Posts: 500
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope. The author of this particular hack doesn't seem to have logged in to vborg for over year.

I'd be willing to re-release and maintain an updated version of the hack, but I'd really need to get hold of wnorris first to get his permission.

-- hugh
Reply With Quote
  #27  
Old 06-06-2008, 08:16 PM
GoldenChaos GoldenChaos is offline
 
Join Date: Feb 2004
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I completely support somebody taking this over and releasing it as a vB 3.7-compatible hack. I would love for my users to have the ability to login either with OpenID or with their existing vBulletin account, or effectively link the two together.

Which brings me to a good question: How does this effect the number of "registered users"? For example, if a forum has 50,000 users, and someone logs in with their OpenID, does the number of members increase to 50,001? If not, that's a serious deterrent from using an OpenID system.
Reply With Quote
  #28  
Old 06-10-2008, 08:32 PM
mangel.ajo mangel.ajo is offline
 
Join Date: Oct 2006
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cheesegrits View Post
Nope. The author of this particular hack doesn't seem to have logged in to vborg for over year.

I'd be willing to re-release and maintain an updated version of the hack, but I'd really need to get hold of wnorris first to get his permission.

-- hugh
Did you try using private messages?

Good luck, and thanks
Reply With Quote
  #29  
Old 06-15-2008, 10:04 PM
cheesegrits's Avatar
cheesegrits cheesegrits is offline
 
Join Date: May 2006
Posts: 500
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GoldenChaos View Post
I completely support somebody taking this over and releasing it as a vB 3.7-compatible hack. I would love for my users to have the ability to login either with OpenID or with their existing vBulletin account, or effectively link the two together.

Which brings me to a good question: How does this effect the number of "registered users"? For example, if a forum has 50,000 users, and someone logs in with their OpenID, does the number of members increase to 50,001? If not, that's a serious deterrent from using an OpenID system.
Yes, the user gets added to your users database. It just doesn't store a password, and authentication happens differently.

Quote:
Originally Posted by mangel.ajo View Post
Did you try using private messages?
Yup.

-- hugh
Reply With Quote
  #30  
Old 07-08-2008, 06:58 AM
jmar jmar is offline
 
Join Date: Oct 2004
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cheesegrits View Post
Nope. The author of this particular hack doesn't seem to have logged in to vborg for over year.

I'd be willing to re-release and maintain an updated version of the hack, but I'd really need to get hold of wnorris first to get his permission.

-- hugh
https://vborg.vbsupport.ru/showpost....1&postcount=13
Maybe that's statement enough?
Reply With Quote
  #31  
Old 07-08-2008, 03:12 PM
cheesegrits's Avatar
cheesegrits cheesegrits is offline
 
Join Date: May 2006
Posts: 500
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jmar View Post
For some reason I managed to miss that post.

Well yes, I guess that is pretty much statement enough. Next time I get a few spare minutes, I'll re-release this under a new thread, so I can start making changes.

I just need to check with the vborg godz to make sure this is kosher.

-- hugh
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:06 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06026 seconds
  • Memory Usage 2,310KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete