Skip to content

Commit

Permalink
fix: incorrect audience when creating cloud task (#3268)
Browse files Browse the repository at this point in the history
Co-authored-by: Averi Kitsch <akitsch@google.com>
Co-authored-by: Patti Shin <pattishin@users.noreply.github.com>
  • Loading branch information
3 people committed Jun 16, 2023
1 parent f1ffc73 commit 8f93d8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloud-tasks/tutorial-gcf/app/createTask.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const createHttpTaskWithToken = async function (
url,
oidcToken: {
serviceAccountEmail: email,
audience: new URL(url).origin,
audience: url,
},
headers: {
'Content-Type': 'application/json',
Expand Down

0 comments on commit 8f93d8c

Please sign in to comment.