mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-14 07:00:01 -04:00
Also make redirect_uri configurable.
This commit is contained in:
parent
327474e53c
commit
2a6e186c98
2 changed files with 2 additions and 1 deletions
|
@ -97,7 +97,7 @@ module.exports =
|
|||
form:
|
||||
code: code
|
||||
grant_type: 'authorization_code'
|
||||
redirect_uri: 'http://localhost:3000/auth/login-clever'
|
||||
redirect_uri: config.clever.redirect_uri
|
||||
|
||||
auth:
|
||||
user: config.clever.client_id
|
||||
|
|
|
@ -82,6 +82,7 @@ config.slackToken = process.env.COCO_SLACK_TOKEN or ''
|
|||
config.clever =
|
||||
client_id: process.env.COCO_CLEVER_CLIENTID
|
||||
client_secret: process.env.COCO_CLEVER_SECRET
|
||||
redirect_uri: process.env.COCO_CLEVER_REDIRECT_URI
|
||||
|
||||
config.queue =
|
||||
accessKeyId: process.env.COCO_AWS_ACCESS_KEY_ID or ''
|
||||
|
|
Loading…
Reference in a new issue