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 6333825
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T18:32:18+00:00 2026-05-24T18:32:18+00:00

In my web app, users are authorized either through Twitter or Facebook. I intend

  • 0

In my web app, users are authorized either through Twitter or Facebook.
I intend to also allow them, while logged in with, say, Twitter, to login with Facebook.

Even at this point, could a user’s account be compromised? I thought about it and couldn’t find any pitfalls, but maybe I just haven’t looked hard enough.

Moreover, I intend to store both oauth tokens in a single row in a database, so that when the user logs in with Facebook, s/he’s automatically being logged in with Twitter, too (to, e.g., be able to post to both places if s/he chooses so).
(I haven’t yet implemented this, so I won’t be surprised if it’s impossible 😉

Is this considered safe practice? I couldn’t find any potential gotchas, so I need advice from more experienced people.

  • 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-05-24T18:32:19+00:00Added an answer on May 24, 2026 at 6:32 pm

    As long as you keep your access tokens unavailable, storing two of them is not less secure than storing one of them.

    As mentioned above, having them on the same row in a table is probably not optimal if you want to integrate more services in the future, but when that happens it surely not hard to refactor your code to satisfy that need.

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

Sidebar

Related Questions

I'm using OAuth in my web app, and users can login with twitter. I
I am building a web app in CakePHP, authorized users can add, update, delete
I have a simple web app with users and posts. I have an index
I am writing a web app using TurboGears, and in that app the users
Background I have a page on my ASP.NET MVC web app for users to
I have an existing web app that allows users to rate items based on
I'm building a mobile web app targeting Android users. I need to know what
We're developing this ASP.NET web app with multiple users on different browsers. One of
I'm writing a web app (Java) which allows users to select contacts. The contacts
I have a web app that only registered users can use, therefore I should

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.