<div dir="ltr"><div>I'm doing the same as Martin for my Feedly client.<br></div>On auth failure, parameters attached to redirect_uri (GET method) are different; after detecting your redirect_uri you should analyze it and decode any (eventual) parameters. Auth token is among those, by the way.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 14, 2014 at 10:35 AM, Oleg Linkin <span dir="ltr"><<a href="mailto:maledictusdemagog@gmail.com" target="_blank">maledictusdemagog@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I try to do as you adviced me but if I don't give access to application a get the next url changes: <br>
1) <a href="https://getpocket.com/auth/approve_access" target="_blank">https://getpocket.com/auth/approve_access</a><br>

2) linksbag:/authorizationFinished - this is my redirect_uri<br><br><div class="gmail_extra">If I give access to application a get the next url changes:<br>1) <a href="https://getpocket.com/auth/approve_access" target="_blank">https://getpocket.com/auth/approve_access</a><br>


2) linksbag:/authorizationFinished <br><br></div><div class="gmail_extra">All this changes are equal. I can't detect was access grant or not to application<br></div><div class="gmail_extra"><br><div class="gmail_quote">


2014-02-14 12:10 GMT+03:00 Martin Grimme <span dir="ltr"><<a href="mailto:martin.grimme@gmail.com" target="_blank">martin.grimme@gmail.com</a>></span>:<div><div class="h5"><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">


Hi,<br>
<br>
the way I'm doing it in Cargo Dock for Dropbox is basically having the<br>
SilicaWebview watch the uri property and react to it in the<br>
onUriChanged signal handler, if the redirect_uri matches the one I'm<br>
expecting.<br>
<br>
<br>
Martin<br>
<br>
<br>
2014-02-14 9:32 GMT+01:00, Oleg Linkin <<a href="mailto:maledictusdemagog@gmail.com" target="_blank">maledictusdemagog@gmail.com</a>>:<br>
<div><div>> Hi, all<br>
> I am developing client for getPocket.com service and I have problem with<br>
> auth.<br>
> After login service send auth status (grant permissions on not to<br>
> application) via redirect_uri. How I should handle it or what sequence of<br>
> actions in this case?<br>
><br>
</div></div>_______________________________________________<br>
SailfishOS.org Devel mailing list<br>
</blockquote></div></div></div><br></div></div>
<br>_______________________________________________<br>
SailfishOS.org Devel mailing list<br></blockquote></div><br><br clear="all"><br>-- <br>Luca Donaggio
</div>