mirror of
https://github.com/System-End/hackatime.git
synced 2026-04-20 00:35:22 +00:00
identify -> users:read
This commit is contained in:
parent
a6482249aa
commit
0ab68b0c26
2 changed files with 2 additions and 2 deletions
|
|
@ -76,7 +76,7 @@ class User < ApplicationRecord
|
|||
client_id: ENV["SLACK_CLIENT_ID"],
|
||||
redirect_uri: redirect_uri,
|
||||
state: SecureRandom.hex(24),
|
||||
user_scope: "users.profile:read,users.profile:write,identify"
|
||||
user_scope: "users.profile:read,users.profile:write,users:read"
|
||||
}
|
||||
|
||||
URI.parse("https://slack.com/oauth/v2/authorize?#{params.to_query}")
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ oauth_config:
|
|||
user:
|
||||
- users.profile:read
|
||||
- users.profile:write
|
||||
- identify
|
||||
- users:read
|
||||
settings:
|
||||
org_deploy_enabled: false
|
||||
socket_mode_enabled: false
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue