File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
src/main/java/io/cos/cas/osf/web/flow/login Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
We follow the CalVer (https://calver.org/ ) versioning scheme: YY.MINOR.MICRO.
4
4
5
+ 23.2.1 (07-07-2023)
6
+ ===================
7
+
8
+ * Fix SSO error handling for inactive users
9
+
5
10
23.2.0 (06-25-2023)
6
11
===================
7
12
Original file line number Diff line number Diff line change 7
7
import com .google .gson .JsonParser ;
8
8
9
9
import io .cos .cas .osf .authentication .credential .OsfPostgresCredential ;
10
+ import io .cos .cas .osf .authentication .exception .InstitutionSsoAccountInactiveException ;
10
11
import io .cos .cas .osf .authentication .exception .InstitutionSsoAttributeMissingException ;
11
12
import io .cos .cas .osf .authentication .exception .InstitutionSsoAttributeParsingException ;
12
13
import io .cos .cas .osf .authentication .exception .InstitutionSsoDuplicateIdentityException ;
@@ -788,7 +789,7 @@ private OsfApiInstitutionAuthenticationResult notifyOsfApiOfInstnAuthnSuccess(
788
789
}
789
790
if (OsfApiPermissionDenied .INSTITUTION_SSO_ACCOUNT_INACTIVE .getId ().equals (errorDetail )) {
790
791
LOGGER .error ("[OSF API] Failure - Inactive Account: {}" , ssoUser );
791
- throw new InstitutionSsoDuplicateIdentityException ("OSF API denies inactive account" );
792
+ throw new InstitutionSsoAccountInactiveException ("OSF API denies inactive account" );
792
793
}
793
794
}
794
795
// Handle unidentified HTTP 403 FORBIDDEN failures
You can’t perform that action at this time.
0 commit comments