File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
packages/javascript-sdk/src Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,8 @@ const allowedErrors = {
5454
5555 // PingOne login error
5656 LoginRequired : 'User authentication is required' ,
57+
58+ RequestRequiresConsent : 'The request requires consent.' ,
5759} ;
5860
5961/**
Original file line number Diff line number Diff line change @@ -168,6 +168,7 @@ abstract class TokenManager {
168168 allowedErrors . FailedToFetch !== err . message &&
169169 allowedErrors . NetworkError !== err . message &&
170170 allowedErrors . InteractionNotAllowed !== err . message &&
171+ allowedErrors . RequestRequiresConsent !== err . message &&
171172 // Check for Ping Identity Login Required error
172173 // Long message, so just check substring
173174 ! err . message . includes ( allowedErrors . LoginRequired ) &&
You can’t perform that action at this time.
0 commit comments