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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:20:26+00:00 2026-05-27T18:20:26+00:00

I have a basic doubt. I have come across many open source OAuth libs.But

  • 0

I have a basic doubt.
I have come across many open source OAuth libs.But all of them are dependent on the social networks they serve.
My question is that if all OAuth library depens on the sites or if there are any OAuth libraries which are truly generic.

Thanks

  • 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-27T18:20:27+00:00Added an answer on May 27, 2026 at 6:20 pm

    TL;DR OAuth2 implementations are similar, but differ in some details. If a library was not designed for or tested with a particular server implementation – chances are it will not work with it at all. I have yet to see a library that supports more than one provider.

    Long story:
    While all OAuth2 implementations are similar, devil is in the detail.
    For example, comparing step 1 (request code) of Facebook and Google OAuth2 protocols:

    • with Facebook you register and whitelists whole domain, for Google you list specific URLs.
    • Facebook lets you append arbitrary &params to the redirect_uri, Google only allows passing &state URL param
    • Google requires specifying response_type=code parameter, Facebook doesn’t

    Obtaining access token is not quite compatible either:

    • Google allows only POST request, Facebook supports both POST and GET
    • Google returns JSON response, Facebook – an URL string
    • Facebook requires exactly the same redirect_uri as in step 1, Google doesn’t verify presence of &state

    I did not intend to put together a comprehensive list of all the deviations.
    This is just some examples I’ve noticed while reading public documentation and experimenting with APIs.
    VKontakte mostly uses Facebook’s quirks, but returns JSON in step 2, similar to Google.

    After you’ve jumped all the hoops and obtained the access token things get even harder.
    OAuth does not attempt to cover how APIs are structured or accessed, so you need completely different routines to fetch user name and email from each network.

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

Sidebar

Related Questions

This could be a very basic question for prodigies.But I have a doubt to
I have a basic doubt that, How can we have both CLR's on a
I have a very basic doubt regarding the method that gets executed when app
Well, I think I have a very basic doubt here: I'm developing an app
Currently, i have basic C++ and PHP skills. But, i want to switch to
I have a basic understanding of mock and fake objects, but I'm not sure
I have basic doubt regarding executable stored in ROM. As I know the executable
I have a basic doubt. Internally how are events represented as methods or as
I have one basic doubt. I have a process which uses a shared library.
I have a very basic doubt regarding cloud computing that is catching up pretty

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.