Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class AuthOutputs
required this.awsRegion,
this.userPoolId,
this.userPoolClientId,
this.userPoolEndpoint,
this.appClientSecret,
this.identityPoolId,
this.passwordPolicy,
Expand All @@ -44,6 +45,9 @@ class AuthOutputs
/// The Cognito User Pool Client ID.
final String? userPoolClientId;

/// The Cognito User Pool Endpoint.
final String? userPoolEndpoint; //Gen 1 only

/// A fixed string that must be used in all API requests to the app client
/// if the the app client has one configured.
///
Expand Down Expand Up @@ -84,6 +88,7 @@ class AuthOutputs
awsRegion,
userPoolId,
userPoolClientId,
userPoolEndpoint,
identityPoolId,
oauth,
standardRequiredAttributes,
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ class AuthConfig extends AmplifyPluginConfigMap {
awsRegion: region,
userPoolId: userPool?.poolId,
userPoolClientId: userPool?.appClientId,
userPoolEndpoint: userPool?.endpoint,
appClientSecret: userPool?.appClientSecret,
identityPoolId: identityPool?.poolId,
passwordPolicy: passwordPolicy,
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ final class ConfigurationStateMachine
region: authOutputs.awsRegion,
credentialsProvider: _credentialsProvider,
dependencyManager: this,
endpoint: authOutputs.userPoolEndpoint,
),
);

Expand Down
Loading