Skip to content

Conversation

@nathan-dovire
Copy link

@nathan-dovire nathan-dovire commented Dec 11, 2025

#5784

Completes the userPoolEndpoint Implementation

This PR completes completes the implementation started in commit f37cb7e69 which added userPoolEndpoint to AuthOutputs but was missing a critical mapping step.

Problem

The original work added the userPoolEndpoint field to support custom Cognito endpoints (e.g., routing through a proxy), but the implementation was incomplete. The endpoint was being collected from Gen 1 configs but never actually passed to the Cognito User Pool configuration.

Root Cause

The CognitoUserPoolConfig.fromAuthOutputs() factory method was missing the endpoint mapping, breaking the configuration flow:

// Missing in original PR:
endpoint: authOutputs.userPoolEndpoint

@nathan-dovire nathan-dovire requested a review from a team as a code owner December 11, 2025 08:36
@nathan-dovire nathan-dovire force-pushed the fix/auth-endpoints-complete-mapping branch from 4a1df7f to 0bf1039 Compare December 11, 2025 08:51
@nathan-dovire nathan-dovire changed the title Fix/auth endpoints complete mapping Fix Cognito Auth endpoints mapping Dec 11, 2025
@nathan-dovire nathan-dovire marked this pull request as draft December 11, 2025 09:58
@nathan-dovire nathan-dovire force-pushed the fix/auth-endpoints-complete-mapping branch from b79d900 to 83b9733 Compare December 11, 2025 11:07
@cadivus
Copy link

cadivus commented Dec 16, 2025

Hi @nathan-dovire ,

Thank you for your contribution to the AWS Amplify Flutter Library! Is there a reason this Pull Request is still a draft?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants