Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow multiple decode keys #1115

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

jenbutongit
Copy link
Contributor

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Please also include any acceptance criteria if you have any.

  • You may now set initialisedSessionAdditionalDecodeKeys in runner/config/*.json
  • or use the env var INITIALISED_SESSION_ADDITIONAL_DECODE_KEYS
    • you must provide these as CSV INITIALISED_SESSION_ADDITIONAL_DECODE_KEYS="key1,key2". If your key contains a comma, then you must use a .json file.

This will allow the initialised session feature to decode tokens generated by old keys.

If you have deployed previously without an initialised session key, then these will be auto generated each time you deploy.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant