OAuth authentication in one window?

Justin BJustin B Registered Users, Retired Mod Posts: 488
Currently when a user authenticates my app with OAuth I have a new window popup. After they allow access they have to close the window to return to the app. Is there a way to do this routine in one window? I don't need the exact details, I just want to know if it's possible before I start searching around.

Also, after authentication, I'm noticing that it's taking me to the "Please provide an email address for customers to contact you" page and authentication fails. Is that supposed to happen?

Thanks!

Comments

  • Justin BJustin B Registered Users, Retired Mod Posts: 488
    edited February 7, 2011
  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited February 9, 2011
    Justin B wrote: »
    Currently when a user authenticates my app with OAuth I have a new window popup. After they allow access they have to close the window to return to the app. Is there a way to do this routine in one window? I don't need the exact details, I just want to know if it's possible before I start searching around.

    Are you talking about desktop or mobile app, if so...you should be able to register a custom browser protocol, then add an oauth callback url to have the browser invoke your application.

    If you are talking about a web app/site, you can just assign an oauth_callback by clicking the 'change' link next to your api key details in your control panel.
    Justin B wrote: »
    Also, after authentication, I'm noticing that it's taking me to the "Please provide an email address for customers to contact you" page and authentication fails. Is that supposed to happen?
    this is an old bug that looks like it had been reintroduced..I'll take a look.

    Cheers,

    David
    David Parry
    SmugMug API Developer
    My Photos
Sign In or Register to comment.