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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T12:06:51+00:00 2026-06-04T12:06:51+00:00

The OAuth 2.0 specification defines the Resource Owner Password Credentials Grant Type , which

  • 0

The OAuth 2.0 specification defines the Resource Owner Password Credentials Grant Type, which allows the resource owner password credentials (i.e. username and password) to be used directly as an authorization grant to obtain an access token.

I want to allow a user to ‘login via Facebook’ on the client instead of providing the credentials directly. The client could then exchange the user’s Facebook access token for an access token for the authorization server. Does this scheme fit into the framework of OAuth2?

  • 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-04T12:06:53+00:00Added an answer on June 4, 2026 at 12:06 pm

    The client could then exchange the user’s Facebook access token for an access token for the authorization server.

    Does it mean you have 2 Authorization servers (one of Facebook and another – your private one) in mind? If yes – you’re abusing OAuth and should use Authorization Code Grant scheme instead.

    On Figure 5 from OAuth 2.0 spec (v25) you can find workflow definition:

    1. The resource owner provides the client with its username and password.

    2. The client requests an access token from the authorization server’s token
      endpoint by including the credentials received from the resource owner. When
      making the request, the client authenticates with the authorization server.

    3. The authorization server authenticates the client and validates the resource owner
      credentials, and if valid issues an access token.

    This is a quote from Facebook http://developers.facebook.com/docs/guides/web/ :

    In order to log the user into your site, three things need to happen. First, Facebook needs to authenticate the user. This ensures that the user is who they say they are. Second, Facebook needs to authenticate your website. This ensures that the user is giving their information to your site and not someone else. Lastly, the user must explicitly authorize your website to access their information. This ensures that the user knows exactly what data they are disclosing to your site.

    In both places you have one and only one Authorization server – in your case – the Facebook.

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

Sidebar

Related Questions

I've implemented an OAuth 1.0 provider following this specification , which should be the
Which OAuth version used in spring social facebook version 1.0 or 2.0 ?
I am following oauth authorization flow(http://developer.yahoo.com/oauth/guide/oauth-requesttoken.html) for accessing Yahoo's Contact API . I am
follow the link: http://code.google.com/p/google-api-java-client/wiki/Authentication There are 4 methods there, which are: 1. OAuth 1.0a
i have used oauth mechanism to let the user login via twitter in my
I have used OAuth multiple times before for web applications. However I am now
I try to do OAuth (version 1.0) request authorization on the server and using
I have the oauth authorization with google working correctly and am getting data from
I'm experimenting with OAuth 2.0. which brings up a window containing a UIWebView as
I used twitter Oauth and it worked perfectly fine.I was able to login using

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.