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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T22:13:20+00:00 2026-05-13T22:13:20+00:00

Can’t the server just upgrade the temporary credentials to token credentials and retain the

  • 0

Can’t the server just “upgrade” the temporary credentials to token credentials and retain the same key and secret?

The client can then start doing authenticated calls right away after the recieving the callback from the server stating that the temporary credentials has been “upgraded”.

Of cause if the temporary credentials have not be upgrade (i.e. client doesn’t wait for callback) the authenticated call fails.

So the question is why make an extra call to the server after the callback to “exchange” temporary credentials for token credentials?

  • 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-13T22:13:20+00:00Added an answer on May 13, 2026 at 10:13 pm

    You could implement OAuth in that way, but as I understand it, separating Request Tokens from Access Tokens does provide an extra layer of security.

    From the Beginner’s Guide:

    OAuth includes two kind of Tokens:
    Request Token and Access Token. Each
    Token has a very specific role in the
    OAuth delegation workflow. While
    mostly an artifact of how the OAuth
    specification evolved, the two-Token
    design offers some usability and
    security features which made it
    worthwhile to stay in the
    specification. OAuth operates on two
    channels: a front-channel which is
    used to engage the User and request
    authorization, and a back-channel used
    by the Consumer to directly interact
    with the Service Provider. By limiting
    the Access Token to the back-channel,
    the Token itself remains concealed
    from the User. This allows the Access
    Token to carry special meanings and to
    have a larger size than the
    front-channel Request Token which is
    exposed to the User when requesting
    authorization, and in some cases needs
    to be manually entered (mobile device
    or set-top box).

    So, as I understand it, by limiting the Access Token to a channel directly between the consumer (your service) and the provider (the service you’re gaining access to), you can obtain a secure Access Token (that is, one the attacker doesn’t have) even if the user’s machine or the user’s network connection to your service is compromised. If the Request Token were simply upgraded, then anyone sniffing the user’s network connection could easily obtain the Request/Access Token, which we’d prefer to keep secret since it can be used (with your consumer token, of course), potentially for a very long time, to access the user’s data. A server-to-server connection is often more secure.

    Also, as is pointed out above, this lets you have a much longer key in cases where the Request Token actually has to be typed out by the user (and so is probably very short).

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

Sidebar

Related Questions

Can I authenticate with just Google account username and password instead of using OAuth?
Can PHP PDO extension bind nested objects automatically ? I mean using foreign key
Can someone explain some behaviour I'm seeing in SQL Server 2005? I've been tasked
Can anyone tell me the difference between GlassFish Server Open Source Edition and Java
Can anyone let me know how can we change the value of kendo combobox
Can I order my users in the database, so I don't have to say
Can I change the field public virtual ClassOne ClassOne { get; set; } to
Can any one tell, how to get the result of LINQ query contains group
Can we change the default action of the edit selected row button? Here is
Can someone thoroughly explain the last line of the following code: def myMethod(self): #

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.