mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-15 07:34:42 -04:00
Add config option for gitlab api scope and auto adapt gitlab snippet feature on it
This commit is contained in:
parent
baf13072c1
commit
506a381eca
7 changed files with 19 additions and 9 deletions
|
@ -91,6 +91,7 @@ function registerAuthMethod () {
|
|||
baseURL: config.gitlab.baseURL,
|
||||
clientID: config.gitlab.clientID,
|
||||
clientSecret: config.gitlab.clientSecret,
|
||||
scope: config.gitlab.scope,
|
||||
callbackURL: config.serverurl + '/auth/gitlab/callback'
|
||||
}, callback))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue