Permalink
Browse files

Update src/main/java/org/scribe/builder/api/VkontakteApi.java

Updated hostname to avoid https policy exception
  • Loading branch information...
1 parent 0ed1989 commit 85257fd8959d1f32934f1a9ae60066a6139a5f64 @sovnarkom sovnarkom committed Nov 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/scribe/builder/api/VkontakteApi.java
@@ -10,7 +10,7 @@
*/
public class VkontakteApi extends DefaultApi20
{
- private static final String AUTHORIZE_URL = "https://api.vkontakte.ru/oauth/authorize?client_id=%s&redirect_uri=%s&response_type=code";
+ private static final String AUTHORIZE_URL = "https://oauth.vk.com/authorize?client_id=%s&redirect_uri=%s&response_type=code";
private static final String SCOPED_AUTHORIZE_URL = String.format("%s&scope=%%s", AUTHORIZE_URL);
@Override

0 comments on commit 85257fd

Please sign in to comment.