Question to oAuth & Mobile

17 views
Skip to first unread message

TheFreeman

unread,
Sep 30, 2010, 4:14:47 AM9/30/10
to glue-development
Hello,
I'm trying to build a windows phone 7 client.
But when I try to authenticate, I successfully receive my oauth_token
but if i'm not wrong normally as it's the first time "the user" use my
app, I should receive after the login screen, the "Allow/Deny"
windows, in that's not the case.
When I debug and I take the url returned : (http://getglue.com/oauth/
authorize?oauth_token=xxxxx) and copy it in my laptop browser, I can
see the login screen and once loggued the "allow/Deny screen"

When I continue to debug my WM7 app, the path is not exactly the same.
Here are the urls traced : http://getglue.com/login and be directly
redirected to http://getglue.com/mobile and again to http://getglue.com/mobile/login

There I sign in on with in a webbrowser in my app but after the sign,
i'm not redirected to the "allow/deny" this app but to the standard
getglue mobile interface with all options/choices.

Any idea?

Dominick D'Aniello

unread,
Sep 30, 2010, 10:41:22 AM9/30/10
to glue-development
This is indeed a bug. A fix for this should be out with our next
build, likely Monday or Tuesday.

On Sep 30, 4:14 am, TheFreeman <nicolas.delo...@gmail.com> wrote:
> Hello,
> I'm trying to build a windows phone 7 client.
> But when I try to authenticate, I successfully receive my oauth_token
> but if i'm not wrong normally as it's the first time "the user" use my
> app, I should receive after the login screen, the "Allow/Deny"
> windows, in that's not the case.
> When I debug and I take the url returned : (http://getglue.com/oauth/
> authorize?oauth_token=xxxxx) and copy it in my laptop browser, I can
> see the login screen and once loggued the "allow/Deny screen"
>
> When I continue to debug my WM7 app, the path is not exactly the same.
> Here are the urls traced :http://getglue.com/loginand be directly
> redirected tohttp://getglue.com/mobileand again tohttp://getglue.com/mobile/login

TheFreeman

unread,
Sep 30, 2010, 2:08:26 PM9/30/10
to glue-development
It seems also that the callback url is not working.
When I allow my app, I can trace this just after the click Allow
http://getglue.com/oauth/authorize?oauth_token=xxxxxxxxxxxx&oauth_callback=
The callback is missing, then I see a screen with "You have
authenticated with GetGlueOnMob"
But i'm not redirected to the callback url where i'm supposed to get
my oauth_token....
Something like this "http://www.myurl.com?
oauth_token=mDtEcy0rNVPAQbfffffffBaTLKR4aOYqdEcLgoaR0&oauth_verifier=WAfffffffCoYpuHQdGD4GFAeXM01MaezpOcld0Y"
Could you check ?

Nicolas

On Sep 30, 4:41 pm, "Dominick D'Aniello" <netpr...@gmail.com> wrote:
> This is indeed a bug. A fix for this should be out with our next
> build, likely Monday or Tuesday.
>
> On Sep 30, 4:14 am, TheFreeman <nicolas.delo...@gmail.com> wrote:
>
>
>
> > Hello,
> > I'm trying to build a windows phone 7 client.
> > But when I try to authenticate, I successfully receive my oauth_token
> > but if i'm not wrong normally as it's the first time "the user" use my
> > app, I should receive after the login screen, the "Allow/Deny"
> > windows, in that's not the case.
> > When I debug and I take the url returned : (http://getglue.com/oauth/
> > authorize?oauth_token=xxxxx) and copy it in my laptop browser, I can
> > see the login screen and once loggued the "allow/Deny screen"
>
> > When I continue to debug my WM7 app, the path is not exactly the same.
> > Here are the urls traced :http://getglue.com/loginandbe directly
> > redirected tohttp://getglue.com/mobileandagain tohttp://getglue.com/mobile/login

Karen

unread,
Sep 30, 2010, 2:15:38 PM9/30/10
to glue-development
If you just go ahead and set oauth_callback=true on the OAuth
Authorization url, it should work as expected and redirect.

We apologize that it's a bit confusing--I'll update the API docs
accordingly so others don't get into this predicament. :)

On Sep 30, 2:08 pm, TheFreeman <nicolas.delo...@gmail.com> wrote:
> It seems also that the callback url is not working.
> When I allow my app, I can trace this just after the click Allowhttp://getglue.com/oauth/authorize?oauth_token=xxxxxxxxxxxx&oauth_cal...
> The callback is missing, then I see a screen with "You have
> authenticated with GetGlueOnMob"
> But i'm not redirected to the callback url where i'm supposed to get
> my oauth_token....
> Something like this "http://www.myurl.com?
> oauth_token=mDtEcy0rNVPAQbfffffffBaTLKR4aOYqdEcLgoaR0&oauth_verifier=WAfffffffCoYpuHQdGD4GFAeXM01MaezpOcld0Y"
> Could you check ?
>
> Nicolas
>
> On Sep 30, 4:41 pm, "Dominick D'Aniello" <netpr...@gmail.com> wrote:
>
> > This is indeed a bug. A fix for this should be out with our next
> > build, likely Monday or Tuesday.
>
> > On Sep 30, 4:14 am, TheFreeman <nicolas.delo...@gmail.com> wrote:
>
> > > Hello,
> > > I'm trying to build a windows phone 7 client.
> > > But when I try to authenticate, I successfully receive my oauth_token
> > > but if i'm not wrong normally as it's the first time "the user" use my
> > > app, I should receive after the login screen, the "Allow/Deny"
> > > windows, in that's not the case.
> > > When I debug and I take the url returned : (http://getglue.com/oauth/
> > > authorize?oauth_token=xxxxx) and copy it in my laptop browser, I can
> > > see the login screen and once loggued the "allow/Deny screen"
>
> > > When I continue to debug my WM7 app, the path is not exactly the same.
> > > Here are the urls traced :http://getglue.com/loginandbedirectly
> > > redirected tohttp://getglue.com/mobileandagaintohttp://getglue.com/mobile/login

Karen Teng

unread,
Nov 24, 2010, 12:00:54 PM11/24/10
to glue-development
Correction -- we updated oauth_callback to accept a callback URL.

This is more standard and ultimately less confusing.
Reply all
Reply to author
Forward
0 new messages