Hi Denis,
Nice to see you're progressing.
Once you’ve got a demo app, please share the github repo URL with us ;)
++
Corinne
[
On 11 Mar 2015, at 16:24, Денис Карпенко <banddk1(a)gmail.com>
wrote:
Hello,I figured out with URL schemes, I have never used them before, that's cool :)
VK is inconvenient, I have spent a lot of time on redirect uri.
I have received a notification in application !)
P.S The pictures in your blog are very nice)
Denis.
2015-03-10 23:41 GMT+03:00 Денис Карпенко <banddk1(a)gmail.com>:
Oh, yes, I am understand now.
Thank you Corinne)
Denis.
2015-03-10 22:31 GMT+03:00 Corinne Krych <corinnekrych(a)gmail.com>:
Hello Denis,
If you read my blog post [1] I think you manage the "step1: authz code”. At this
stage you don’t have an access token but an very temporary authorization code.
Now to be able to re-enter the app, you should define on url schema that matches your
redirect_uri as explained in [2].
When working with different providers, the main challenge is to understand how they
register/configuration works. for example Facebook expect a redirect_uri that matches the
pattern: fb+client_id whereas Google recommand the usage of bundle id as redirect_ui.
Once you manage to re-enter the app, this code will be extracted from parameter and then
can be used in step2 to exchange it for an access token (that part is taken care for you
by the oauth2 lib).
++
Corinne
[1]
http://corinnekrych.blogspot.fr/2014/11/oauth2-for-android-and-ios-with-k...
[2]
https://github.com/aerogear/aerogear-ios-cookbook/tree/master/Shoot#step3...
> On 10 Mar 2015, at 19:50, Денис Карпенко <banddk1(a)gmail.com> wrote:
>
> Hi everyone!) I try to add VK config in IOS-OAuth2, my application opens safari and
asks for permission, I click ‘ok’ and then browser opens page with access token, and that
is it Browser remains open and I can’t get token in application. What could be the
problem ?)
>
> Denis.
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/aerogear-dev
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev