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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:56:47+00:00 2026-05-26T15:56:47+00:00

I am using an URL like the following: https://www.google.com/accounts/OAuthAuthorizeToken? oauth_token=ab3cd9j4ks73hf7g&oauth_callback=http%3A%2F%2Fwww.example.com This gets redirected to:

  • 0

I am using an URL like the following:

  https://www.google.com/accounts/OAuthAuthorizeToken?
oauth_token=ab3cd9j4ks73hf7g&oauth_callback=http%3A%2F%2Fwww.example.com

This gets redirected to:

http://www.youtube.com/oauth_authorize_token?oauth_callback=http%3A%2F%2Fwww.google.com&oauth_token=1%2FyT-RZ-5PAMCp43Wt0RAGpNUAbMKAHxq1MG_RiX3Cmtk

After the user clicks allow access, YouTube directs the page to:

http://www.youtube.com/t/oauth_token_authorized

Why is the callback not working?

Their API seems to agree with what I am doing.

  • 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-26T15:56:47+00:00Added an answer on May 26, 2026 at 3:56 pm

    In sum, you’re specifying the oauth_callback too late in the process. Instead, provide it at the very beginning. For Google’s provider, that’s when you’re calling OAuthGetRequestToken.

    This Google documentation seems to get it right. Strange. I also found other documentation that explains the same thing: “The [Service Provider] MUST associate the callback URL sent in Step 1 with the request token it issues.” So, you have to provide the callback URL when getting the “unauthorized” request token (“unauthorized” because the user hasn’t given their permission yet). After you’ve done this, you can forward the user to the Authorization URL, where the user (aka resource owner) grants access explicitly for your application.

    Here’s a page that gives related information about OAuth 2.0.

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

Sidebar

Related Questions

using the stumbleupon badge code for a url like http://www.test.com/¿cómo_se_dice with the following snippet
im using the following code to share content on facebook- <a href=https://www.facebook.com/dialog/feed?app_id=325675344144789&link=<?=$station_info->link?>& picture=<?=$station_info->img_url?>& name=<?=$station_info->title?>&
I just stumbled upon the following article: http://www.josscrowcroft.com/2011/code/utf-8-multibyte-characters-in-url-parameters-%E2%9C%93/ The article talks about using UTF-8
I am using the following sliding div script: http://www.webdesignerwall.com/demo/jquery/simple-slide-panel.html Currently, the slidetoggle function is
I have the following text (inside some more text): {movie:http://www.film.com/films/film1} I would like to
I have application that displays webpage with url something like https://www.test.com/checkout/reserve/DHrhrzPEC6MepeMoZinxoQD4QvAaevgx7xYDZJtX8azf0_ii_Zv2b2rpiYgToXHP from this url
I am using Google Checkout and I could like to create an absolute URL
I have a list of URLs such as, http://www.mywebsite.com/page.php?genus=A_GENUS&species=A_SPECIES&id=12345 . I would like to
I'm using Subscribe2 plugin in my new upcoming WordPress blog ( http://www.adlerr.com ). My
I have a URL like this http://subdomain.domain.com/xyz-200_some_information I want to convert this URL to

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.