Skip to content

Commit

Permalink
chore: use private scheme for keys due to infra limitations
Browse files Browse the repository at this point in the history
chore: modify post-rollout path

Revert "chore: use private scheme for keys due to infra limitations"

This reverts commit 9bc191c.

Revert "chore: modify post-rollout path"

This reverts commit d069abf.

Revert "Revert "chore: modify post-rollout path""

This reverts commit a2f05d1.

Revert "Revert "chore: use private scheme for keys due to infra limitations""

This reverts commit 6cde70a.
  • Loading branch information
colorfield committed Oct 18, 2023
1 parent 71c29bf commit 6078a90
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .lagoon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ tasks:
- run:
name: Create Keys for Simple OAuth if necessary
command: |
if [[ ! -f /app/keys/private.key || ! -f /app/keys/public.key ]]; then
drush simple-oauth:generate-keys /app/keys
if [[ ! -f /app/web/sites/default/files/private/keys/private.key || ! -f /app/web/sites/default/files/private/keys/public.key ]]; then
mkdir -p /app/web/sites/default/files/private/keys
drush simple-oauth:generate-keys /app/web/sites/default/files/private/keys
fi
service: cli
environments:
Expand Down
4 changes: 2 additions & 2 deletions apps/cms/config/sync/simple_oauth.settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ access_token_expiration: 3600
authorization_code_expiration: 300
refresh_token_expiration: 1209600
token_cron_batch_size: 0
public_key: ../keys/public.key
private_key: ../keys/private.key
public_key: ./sites/default/files/private/keys/public.key
private_key: ./sites/default/files/private/keys/private.key
remember_clients: true
use_implicit: false
disable_openid_connect: false

0 comments on commit 6078a90

Please sign in to comment.