Skip to content

Commit

Permalink
update get token and turn off background processor
Browse files Browse the repository at this point in the history
  • Loading branch information
burnettk committed Mar 27, 2024
1 parent 510144f commit e35a46e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/get_token
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ set -o errtrace -o errexit -o nounset -o pipefail

username="${1:-nelson}"

curl -s -X POST "localhost:8000/openid/token?code=${username}:this_is_not_secure_do_not_use_in_production" | jq -r .access_token
curl -s -X POST "localhost:8000/openid/token?code=${username}:this_is_not_secure_do_not_use_in_production" -H "Authorization: Basic c3BpZmZ3b3JrZmxvdy1iYWNrZW5kOm15X29wZW5faWRfc2VjcmV0X2tleQ==" | jq -r .access_token
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ services:
SPIFFWORKFLOW_BACKEND_OPEN_ID_SERVER_URL: "http://localhost:${SPIFF_BACKEND_PORT:-8000}/openid"
SPIFFWORKFLOW_BACKEND_PERMISSIONS_FILE_ABSOLUTE_PATH: "${SPIFFWORKFLOW_BACKEND_PERMISSIONS_FILE_ABSOLUTE_PATH}"
SPIFFWORKFLOW_BACKEND_PORT: "${SPIFF_BACKEND_PORT:-8000}"
SPIFFWORKFLOW_BACKEND_RUN_BACKGROUND_SCHEDULER_IN_CREATE_APP: "true"
SPIFFWORKFLOW_BACKEND_RUN_BACKGROUND_SCHEDULER_IN_CREATE_APP: "false"
SPIFFWORKFLOW_BACKEND_UPGRADE_DB: "true"
SPIFFWORKFLOW_BACKEND_URL_FOR_FRONTEND: "http://localhost:${SPIFFWORKFLOW_FRONTEND_PORT:-8001}"
ports:
Expand Down

0 comments on commit e35a46e

Please sign in to comment.