Skip to content

Commit

Permalink
Updating the warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
nandan-bhat committed Jul 18, 2024
1 parent c8c4034 commit 5d80da3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/auth0/handlers/scimHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export default class ScimHandler {

// Skip the connection if it returns 403. Looks like "scim_config" permissions are not enabled on Management API.
if (errorData?.statusCode === 403) {
const warningMessage = `SCIM configuration is not enabled on connection \"${ this.currentConnectionId }\".`;
const warningMessage = `Insufficient scope, expected any of: read:scim_config. Looks like "scim_config" permissions are not enabled for api on \"${ this.currentConnectionId }\".`;
log.warn(warningMessage);
return { data: null };
}
Expand Down

0 comments on commit 5d80da3

Please sign in to comment.