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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T02:26:28+00:00 2026-06-14T02:26:28+00:00

Beginner programmer here, please pardon ignorance & explanations will be really nice :) I’ve

  • 0

Beginner programmer here, please pardon ignorance & explanations will be really nice 🙂

I’ve tried to read the tutorials for a certain OAuth 2.0 service, but I don’t understand this redirect URI… in my particular context, let’s say I’m trying to build an iPhone app that uses OAuth 2.0 for some service. I have an App ID that was generated, but i need to provide some sort of redirect URI to generate the API key.

Is this a URL that I’m supposed to host somewhere myself?? As the name suggests, I would think that the redirect URL is supposed to “redirect” someone somewhere. My only guess is that it’s the URL a user is redirected to after they log in to the service.

However, even if that assumption is correct, I don’t understand one other thing – how can my app be opened again after I’ve sent them to the browser for the user login?

  • 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-14T02:26:29+00:00Added an answer on June 14, 2026 at 2:26 am

    Read this:

    http://www.quora.com/OAuth-2-0/How-does-OAuth-2-0-work

    or an even simpler but quick explanation:

    http://agileanswer.blogspot.se/2012/08/oauth-20-for-my-ninth-grader.html

    The redirect URI is the callback entry point of the app. Think about how OAuth for Facebook works – after end user accepts permissions, “something” has to be called by Facebook to get back to the app, and that “something” is the redirect URI. Furthermore, the redirect URI should be different than the initial entry point of the app.

    The other key point to this puzzle is that you could launch your app from a URL given to a webview. To do this, i simply followed the guide on here:

    http://iosdevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html

    and

    http://inchoo.net/mobile-development/iphone-development/launching-application-via-url-scheme/

    note: on those last 2 links, “http://” works in opening mobile safari but “tel://” doesn’t work in simulator

    in the first app, I call

    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"secondApp://"]];
    

    In my second app, I register “secondApp” (and NOT “secondApp://”) as the name of URL Scheme, with my company as the URL identifier.

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

Sidebar

Related Questions

Beginner hobby programmer here. I'm used to running C in OSX compiling with GCC
I'm re-inventing the wheel here, but as I'm a beginner programmer I'm curious as
I'm new here and a beginner level programmer in C. I'm having some problem
Beginner programmer here....hope it makes sense :) I have created a console app that
Beginner programmer here. So bear with me. I have a simple python program. print
I'm an advanced beginner/intermediate Ruby programmer. I'm really working on improving my Ruby skills,
Beginner programmer here. after a bunch of reading about 'variables' which dont exist in
beginner PHP programmer here trying to use the mailchimp API... I keep getting this
I'm a beginner programmer in Rails and I'm currently trying to create a simple
I'm a beginner programmer, and am wondering how to work around this issue. The

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.