Yes, I have found it too ) but IOS-SDK doesn't use authorization code. I am going to make version with Implicit Flow  and then I may be add Authorization Code Flow.

пятница, 20 марта 2015 г. пользователь Corinne Krych написал:
Hello Denis,

I’ve just submitted a PR to support web view, but you still need a custom URL for it[1].

Googling around I found:
https://vk.com/dev/ios_sdk
https://github.com/VKCOM/vk-ios-sdk
It seems VK is using same convention that Facebook:  Enter vk+APP_ID for the custom url

++
Corinne
[1] https://github.com/aerogear/aerogear-ios-oauth2/pull/25

> On 20 Mar 2015, at 09:39, Денис Карпенко <banddk1@gmail.com> wrote:
>
> Thank you Summers and Corinne,
> Safari opens URL and I suppose it can be problem ) However I'll try to make something with WebView)
>
> Denis.
>
> 2015-03-19 22:29 GMT+03:00 Corinne Krych <corinnekrych@gmail.com>:
> It's worth investigating on UIWebView indeed, i'll give a go tomorrow as i'm working on AGIOS-414 provide webview option.
> ++
> Corinne
>
> On Thursday, March 19, 2015, Summers Pittman <supittma@redhat.com> wrote:
> On Android the webview dialog checks the address before it makes the request and if it matches the redirect will forward the codes back to the application.  Perhaps you could use something similar for the other platforms?
>
> On Thu, Mar 19, 2015 at 12:59 PM, Денис Карпенко <banddk1@gmail.com> wrote:
> Hello everyone,
> I am trying to add special config for VK in OAuth2 library, but I get stuck in a rut. VK doesn't allow   make redirect URI without ( http:// or https://) so I can't send authorization token into application using URL schemes( because I need use something like "applicationName://". Did anyone encounter a similar problem ? How can I solve this problem?
>
> P.S VK also doesn't have refresh tokens. VK begins to to irritate me :)
>
> Denis.
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev


_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev