mirror of
https://github.com/azure/login.git
synced 2026-06-08 09:17:07 +00:00
update
This commit is contained in:
parent
b1db778a6a
commit
ddfe2f4c73
1 changed files with 2 additions and 1 deletions
|
|
@ -116,7 +116,8 @@ async function main() {
|
|||
federatedToken = await core.getIDToken(audience);
|
||||
}
|
||||
catch (error) {
|
||||
throw new Error(`${error.message.split(':')[1]}. Please make sure to give write permissions to id-token in the workflow.`);
|
||||
core.error(`Please make sure to give write permissions to id-token in the workflow.`);
|
||||
throw error;
|
||||
}
|
||||
if (!!federatedToken) {
|
||||
let [issuer, subjectClaim] = await jwtParser(federatedToken);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue