Skip to content

Commit

Permalink
wip gitlab: oauth and private tokens (I)
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan José Vázquez committed Dec 20, 2017
1 parent 7e11dd3 commit 3060b3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/src/main/scala/Config.scala
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ object ScmConfig {
s"$oauth/token"

val loginEndpoint: String =
s"$oauth/login/oauth/authorize?client_id=$clientId&redirect_uri=${encodeURI(redirectUri)}&scope=$scope"
s"$oauth/authorize?client_id=$clientId&redirect_uri=${encodeURI(redirectUri)}&response_type=code"

val userEndpoint: String =
s"$api/user"
Expand Down
2 changes: 1 addition & 1 deletion etc/development/http/http.dev.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ nelson {
# with github. when set to `true` this will force the system to "auto-auth"
# the system based on local environment variables. This really is for
# development use only!
use-environment-session = true
use-environment-session = false

# These provide out-of-box values for development, and mean that
# all development environments can decrypt and verify tokens
Expand Down

0 comments on commit 3060b3b

Please sign in to comment.