forked from baron/baron-sso
6 lines
208 B
Dart
6 lines
208 B
Dart
import 'package:userfront/core/services/auth_proxy_service.dart';
|
|
|
|
bool shouldRouteConsentErrorToErrorScreen(Object error) {
|
|
return error is AuthProxyException && error.errorCode == 'tenant_not_allowed';
|
|
}
|