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

Adds launcher parameters for adding JWT claim response_expires_at #34

Merged
merged 3 commits into from
Nov 19, 2021

Conversation

jamesnunn
Copy link
Contributor

@jamesnunn jamesnunn commented Nov 15, 2021

What is the context of this PR?

Adds a field in launcher to autogenerate a response_expires_at key for the JWT claim. If it is invalid or non existent it is omitted from the claims.

See also ONSdigital/eq-questionnaire-runner#715

How to review

Run launcher and see that the correct date (7 days from now as default) is present.

@jamesnunn jamesnunn changed the title adds launcher parameters for setting expiry time Adds launcher parameters for setting expiry time Nov 16, 2021
@jamesnunn jamesnunn changed the title Adds launcher parameters for setting expiry time Adds launcher parameters for adding JWT claim response_expires_at Nov 16, 2021
@jamesnunn jamesnunn marked this pull request as ready for review November 16, 2021 11:50
@jamesnunn
Copy link
Contributor Author

Copy link
Contributor

@petechd petechd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working as expected!

@jamesnunn jamesnunn merged commit ad6dca0 into master Nov 19, 2021
@jamesnunn jamesnunn deleted the add-response-expiry branch November 19, 2021 10:22
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.

3 participants