Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8221477
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T13:56:13+00:00 2026-06-07T13:56:13+00:00

I am creating a user registration page little bit similar like stackoverflow. For that

  • 0

I am creating a user registration page little bit similar like stackoverflow. For that i must give an opportunity to the user if he has any account already exist on 3rd party networks like facebook , twitter , google or linkedin then instead of custom registration.

i need to save their 3rd party network Ids,emails , name in my database in user table. So that if that particular user come and provide similar user name and his authentication become successful then i can give him access to use the user pages on my site. ( I am not interested in saving password for 3rd party networks social network)

I am bit confuse how can i build such kind of system , some one told me openid and openauth but i am not sure which one can give me correct result?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T13:56:16+00:00Added an answer on June 7, 2026 at 1:56 pm

    For this question it isn’t important whether you choose to use openid or openauth both will provide you with an identity for the user. The way I tend to do it is like so:

    table users_openids(identity, user_id, created, last_used, ...)
    

    then it allows your users to attach multiple identities for in the event you want to import data from many of them.

    For logging in via an identity you simply need to lookup the user_id in your main table.

    So, for existing users simply add a row for them, for new users insert a new user at the same time with a NULL password and be sure to handle it correctly in your application logic. As you should be using hashes then you will never hit a match if someone entered NULL anyway.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm creating a registration page and I would like to give the user the
I have such view that handles user registration. After creating new user i want
After user registration, website send activation code to email. something like that. www.domain.com/?activate=<code> I'm
I am creating a project in struts2 I have created a Registration.jsp page like
I am creating an user registration form using jsp,in which there is an option
I'm creating a registration form using validation inside the User model such as validates_confirmation_of
I'm creating a user form that requires the functionality for people to come back
I am creating a user-boards applicationin rails in which a user owns any number
I'm currently creating a user interface using WPF and would like to display a
We are creating a user interface that functions on a wide variety of platforms

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.