mirror of
https://github.com/System-End/hackatime.git
synced 2026-04-20 00:35:22 +00:00
Add missing identify scope to oauth redirect
This commit is contained in:
parent
f8d507929e
commit
c339d86415
1 changed files with 1 additions and 1 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"
|
||||
user_scope: "users.profile:read,users.profile:write,identify"
|
||||
}
|
||||
|
||||
URI.parse("https://slack.com/oauth/v2/authorize?#{params.to_query}")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue