Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add optional signed_audience flag #114

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

Merged
marickvantuil merged 12 commits into stackkit:master from Tarpsvo:feature/optional-audience-hash
Jul 2, 2023

Conversation

@Tarpsvo
Copy link
Contributor

@Tarpsvo Tarpsvo commented Jun 29, 2023
edited
Loading

Fix for #113

This fixes issues with some Cloud Run setups where providing the audience to the OidcToken causes the queue runners to receive 401 when trying to POST to Cloud Run instances.

$task->setScheduleTime(new Timestamp(['seconds' => $availableAt]));
}

$createdTask = CloudTasksApi::createTask($queueName, $task);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This variable was unused.

marickvantuil reacted with thumbs up emoji
@Tarpsvo Tarpsvo changed the title (削除) Fix #113 Add optional signed_audience flag (削除ここまで) (追記) Add optional signed_audience flag (追記ここまで) Jun 29, 2023
Copy link
Contributor Author

Tarpsvo commented Jun 30, 2023

Added a second fix as well - task name sanitization failed when the task was a closure. See error below:

Task ID \"Closure (CreateMissingProductsFromErplyAction.php:70)-0b31fdb7-b683-431b-8e90-487020684351-1688131669\" can contain only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). Task ID must between 1 and 500 characters.",

marickvantuil reacted with thumbs up emoji

@marickvantuil marickvantuil merged commit 48d5402 into stackkit:master Jul 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /