Remove "repo" oauth scope
* remove "repo" from required permissions (fixes: #29) * formatting
This commit is contained in:
parent
6e60802803
commit
8aa7c87835
|
@ -27,7 +27,7 @@
|
|||
(defn authorize-url []
|
||||
(let [params (codec/form-encode {:client_id (client-id)
|
||||
:redirect_uri (redirect-uri)
|
||||
:scope "admin:repo_hook user:email repo admin:org_hook"
|
||||
:scope "admin:repo_hook user:email admin:org_hook"
|
||||
:allow_signup true
|
||||
:state (str (UUID/randomUUID))})]
|
||||
(str "https://github.com/login/oauth/authorize" "?" params)))
|
||||
|
|
|
@ -18,5 +18,4 @@
|
|||
fixes #123
|
||||
[comment]: # (To auto-close issue on merge, please insert the related issue number after # i.e fixes #566)
|
||||
"]
|
||||
(is (= '(123) (webhooks/extract-issue-number body title))))
|
||||
))
|
||||
(is (= '(123) (webhooks/extract-issue-number body title))))))
|
||||
|
|
Loading…
Reference in New Issue