Skip to content

Commit 2d0ef4e

Browse files
committed
Add VK.com Auth with changes
1 parent 134bb9b commit 2d0ef4e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

samples/VK.gs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
/**
2-
*
32
* VK's Auth flow https://vk.com/dev/authcode_flow_user
43
* Scopes list https://vk.com/dev/permissions
5-
* Be careful. Implicit Flow's Methods are not used on the server side. They will always return "error_code": 15, "error_msg": "Access denied: no access to call this method"
64
*/
75

86
var CLIENT_ID = '...';
@@ -55,8 +53,7 @@ function getService() {
5553
.setPropertyStore(PropertiesService.getUserProperties())
5654

5755
// Set the scope and additional specific parameters if its are supported
58-
.setScope('groups,offline')
59-
.setParam('approval_prompt', 'force');
56+
.setScope('groups,offline');
6057
}
6158

6259
/**

0 commit comments

Comments
 (0)