Skip to content

Commit 85257fd

Browse files
committed
Update src/main/java/org/scribe/builder/api/VkontakteApi.java
Updated hostname to avoid https policy exception
1 parent 0ed1989 commit 85257fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*/
1111
public class VkontakteApi extends DefaultApi20
1212
{
13-
private static final String AUTHORIZE_URL = "https://api.vkontakte.ru/oauth/authorize?client_id=%s&redirect_uri=%s&response_type=code";
13+
private static final String AUTHORIZE_URL = "https://oauth.vk.com/authorize?client_id=%s&redirect_uri=%s&response_type=code";
1414
private static final String SCOPED_AUTHORIZE_URL = String.format("%s&scope=%%s", AUTHORIZE_URL);
1515

1616
@Override

0 commit comments

Comments
 (0)