[Flutter] [Auth with 3rd party] Sign-in with Google button not working in prod but works in debug mode #5209
Labels
Authenticator
Issues related to the Authenticator UI Component
pending-maintainer-response
Pending response from a maintainer of this repository
question
A question about the Amplify Flutter libraries
to-be-reproduced
Issues that have not been reproduced yet, but have reproduction steps provided
Description
Hey there,
I have been fighting with this for some time now and I'm really stuck. I would really appreciate some help. Here's what's happening...
I developed a Flutter web app and for the authentication I'm using the hosted WebUI. I defined 2 authentication methods: email + password AND Signin with Google.
When working in local, it all works great... however, if I create the release version the Google Signin button just doesn't do anything. Nothing happens when I click it, no message on the console....nothing. I tried with different browsers and it was the same.
Categories
Steps to Reproduce
This is my amplify/auth/resource.ts
This is how I set up my
configureAmplify
methodmy
main.dart
has the followingFor the production build, I have this amplify.yml file
and I have made sure the secrets for Google are well defined.
The relevant part of
pubspec.yaml
isUpdate July 31st:
I tried to run in debug mode (launch from the Run button of Android Studio) with the
amplify_outputs.dart
from production. It worked! No bugs, no nothing.... so I must be missing something when deploying to production and I'm not sure what.Screenshots
No response
Platforms
Flutter Version
3.22.3
Amplify Flutter Version
2.3.0
Deployment Method
Amplify CLI
Schema
No response
The text was updated successfully, but these errors were encountered: