Skip to content

Commit

Permalink
Fix typo in auth0 script
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldgray committed Jan 19, 2024
1 parent dea2a3b commit 489174d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/auth0/AddDlcsClaims.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ exports.onExecutePostLogin = async (event, api) => {

const dlcsType = metadata.dlcsType;
if (dlcsType && scopeRequested(event, typeScope)) {
api.idToken.setCustomClaim(typeClaim, dlcsRole);
api.idToken.setCustomClaim(typeClaim, dlcsType);
}
}

Expand Down

0 comments on commit 489174d

Please sign in to comment.