-
Notifications
You must be signed in to change notification settings - Fork 819
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
Authentication Aws Amplify with Flutter #13382
Comments
@Tructivity When you say you've "pulled the Amplify project in the Flutter app", what exactly do you mean? Can you provide any code samples showing how you are configuring the app? |
@haverchuck "pulled the Amplify project in the Flutter app" means "Pulling backend from aws amplify to connect with the Flutter app" |
@haverchuck Could you help? I'm stuck in it long time |
@Tructivity I think this might be a good question for our Amplify CLI team. I'm going to transfer this issue to their repository to get you better help. |
@haverchuck Thanks a lot, I'm really in need to solve it |
Hey @Tructivity, thank you for reaching out. To ensure i understand the situation, initially using the Amplify CLI, Could you provide us some additional information on your use case? Are you looking to quickly test the auth resource in your project? |
@ykethan I want to test auth cognito in Amplify if it is working with the Flutter app or not and also to configure it correctly with amplifyconfiguration.dart But amplify push is needed for plugins to be added into amplifyconfiguration.dart so to achieve that amplify push is necessary for me but on the other hand, I don't want to edit the amplify backend from Flutter because I am afraid that it might make changes to the web configuration which is working perfectly with amplify already. |
@Tructivity If you want to use Amplify Flutter without using the Amplify CLI, you can create your own config file using this documentation. |
@haverchuck Thanks, we have to find out appclient ids and pool ids to add it manually. How we will find appClientId and poolId there? |
@Tructivity we can find this attributes in the user pool and identity you may have created on the AWS Console. Please refer to the document providing this information on user pool clients: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-client-apps.html |
@haverchuck @ykethan Thanks a lot for helping in this situation, it worked. |
Glad to hear you were able to mitigate the issue. Closing the issue. |
|
Description
I have a web application that uses Cognito for authentication and it works perfectly and I want to connect Cognito to my Flutter app.
I have pulled the amplify project in the Flutter app but the configuration file has no plugins added to it. I have also added auth. amplify add auth but the configuration file remains the same. So the only possible way to add that is push as I have seen a video on YouTube.
Is there any way we can have auth added to the configuration file without pushing?
Categories
Steps to Reproduce
No response
Screenshots
No response
Platforms
Flutter Version
3.13.0
Amplify Flutter Version
1.5.0
Deployment Method
Amplify CLI
Schema
No response
The text was updated successfully, but these errors were encountered: