mirror of
https://github.com/status-im/open-bounty.git
synced 2025-01-13 11:06:18 +00:00
Add 'repos' oauth scope
* repos scope is needed even for read-only access to the user's repositories, so it is required for manage repositories to work (Related to #29)
This commit is contained in:
parent
34615a6f92
commit
a9b6a28dec
@ -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 admin:org_hook"
|
||||
:scope "admin:repo_hook repo user:email admin:org_hook"
|
||||
:allow_signup true
|
||||
:state (str (UUID/randomUUID))})]
|
||||
(str "https://github.com/login/oauth/authorize" "?" params)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user