Skip to content

Commit

Permalink
Fix auth providers reading
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz-fink committed May 13, 2023
1 parent b8dac39 commit e14187d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/auth_config/auth_config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class AuthConfig {
allowUnauthenticatedIdentities: json['allowUnauthenticatedIdentities'],
requiredAttributes: _getAsList(json, 'requiredAttributes'),
usernameAttributes: _getAsList(json, 'usernameAttributes'),
authProviders: _getAsList(json, 'authProviders'),
authProviders: _getAsList(json, 'authProvidersUserPool'),
mfaConfiguration: json['mfaConfiguration'],
mfaTypes: _getAsList(json, 'mfaTypes'),
);
Expand All @@ -36,7 +36,7 @@ class AuthConfig {
"allowUnauthenticatedIdentities": $allowUnauthenticatedIdentities,
"requiredAttributes": $requiredAttributes,
"usernameAttributes": $usernameAttributes,
"authProviders": $authProviders,
"authProvidersUserPool": $authProviders,
"mfaConfiguration": $mfaConfiguration,
"mfaTypes": $mfaTypes,
''';
Expand Down

0 comments on commit e14187d

Please sign in to comment.