-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Amplify Does Not Use Endpoint for Cognito Auth Calls #5784
Comments
Hi @mozakassab, thank you for your detail in describing the issue. We will investigate and get back to you when we have an update |
Hi @mozakassab, I looked into it and it seems that, unfortunately, a custom endpoint to route Cognito calls through in the AWSCognitoPlugin is no longer supported as of Gen 2. Is this something that is critical to your application? |
Hi @ekjotmultani ,thank you for the update. Yes, configuring a custom endpoint is critical for our application. Could you please clarify why this feature is no longer supported in Gen 2? Were there any release notes regarding the discontinuation of this support, and are there any plans to reintroduce the custom endpoint configuration in the future? |
Hi @mozakassab , my apologies that this is such an impact to your application. I am looking into a workaround or some type of solution for this in the meantime. |
Hi @mozakassab, can you try adding Also to double check, is the custom domain set up with no problems in Cognito for the userpool you are using? |
Hi @ekjotmultani, thanks for the suggestion! Unfortunately, adding This configuration is used for managed login pages and social logins, which isn’t what I’m trying to do. Thanks again! |
Description
When configuring Amplify in a Flutter application with existing resources and specifying an Endpoint for CognitoUserPool, the SDK does not route Cognito calls through the provided endpoint. This behavior is unexpected, and was working before with v1.
Here's an example of the configuration passed for existing resources:
Categories
Steps to Reproduce
Screenshots
No response
Platforms
Flutter Version
3.27.1
Amplify Flutter Version
2.5.0
Deployment Method
Custom Pipeline
Schema
No response
The text was updated successfully, but these errors were encountered: