softened error from scope checker -- returns false now, allows things to pass through
parent
9c08944a02
commit
d9b6918bc2
|
@ -162,7 +162,7 @@ public class TofuUserApprovalHandler implements UserApprovalHandler {
|
||||||
for (String scope : requestedScopes) {
|
for (String scope : requestedScopes) {
|
||||||
|
|
||||||
if (!allowedScopes.contains(scope)) {
|
if (!allowedScopes.contains(scope)) {
|
||||||
throw new InvalidScopeException("Invalid scope: " + scope, allowedScopes);
|
return false; //throw new InvalidScopeException("Invalid scope: " + scope, allowedScopes);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue