handle parsing exception for OIDCHttpClient::checkOIDCIsAvailable()
This commit is contained in:
committed by
Dat H. Pham
parent
7a27415295
commit
005790ae5f
@@ -274,7 +274,7 @@ class LoginController extends ReloadableController {
|
||||
}
|
||||
|
||||
void _handleCheckOIDCIsAvailableFailure(CheckOIDCIsAvailableFailure failure) {
|
||||
if (failure.exception is CanNotFoundOIDCLinks) {
|
||||
if (failure.exception is CanNotFoundOIDCLinks || failure.exception is InvalidOIDCResponseException) {
|
||||
_handleCommonOIDCFailure();
|
||||
} else {
|
||||
loginFormType.value = LoginFormType.retry;
|
||||
|
||||
Reference in New Issue
Block a user