File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
packages/amplify_core/lib/src/config/auth Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,6 @@ class AuthConfig extends AmplifyPluginConfigMap {
132132 responseType: OAuthResponseType .code,
133133 )
134134 : null ;
135-
136135 final endpoint = userPool? .endpoint;
137136 if (endpoint != null ) {
138137 safePrint (
@@ -144,7 +143,7 @@ class AuthConfig extends AmplifyPluginConfigMap {
144143 );
145144 }
146145
147- return AuthOutputs (
146+ final authOutputs = AuthOutputs (
148147 awsRegion: region,
149148 userPoolId: userPool? .poolId,
150149 userPoolClientId: userPool? .appClientId,
@@ -159,6 +158,12 @@ class AuthConfig extends AmplifyPluginConfigMap {
159158 mfaConfiguration: plugin? .mfaConfiguration? .toMfaEnforcement (),
160159 mfaMethods: plugin? .mfaTypes? .map ((t) => t.toMfaMethod ()).toList (),
161160 );
161+
162+ safePrint (
163+ '📤 [Auth Config] Created AuthOutputs with userPoolEndpoint: ${authOutputs .userPoolEndpoint }' ,
164+ );
165+
166+ return authOutputs;
162167 }
163168
164169 @override
You can’t perform that action at this time.
0 commit comments