FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
118 stars 18 forks source link

URL change -> app not working #3596

Open valeriodipalo opened 1 month ago

valeriodipalo commented 1 month ago

Can we access your project?

Current Behavior

I am having troubles in changing the app url. I've tried doing it but it has led to problems in production. In particular, the url used is the right one when the page opens, but after the login goes to the url which was used before. To try to solve the problem I've unplublished and re-published the app and that has led to the whole app not functioning after the login. I'll need to change the url name and I would need some additional support to perform this task

Expected Behavior

Once i change the url, this stays the same troughout all the app pages

Steps to Reproduce

  1. change url
  2. try the app in prod
  3. perform login
  4. receive error

Reproducible from Blank

Bug Report Code (Required)

IT9XiuflxIt1pbxY1872acAxnjgXH1s7auYrldZ+axAafY/qP5kqdcnRP1tpWbS/T2w7IWGN+XgK+ezLkc7+MeY5HxeWfLZm+c9ASQCVXTmXWpDUEs+CdGJ/J95XfGK45JmnkCJ+Os5aWF4s2GCMe97KYz/vMLnhOms/D+akCLzA+kqbAR7dFS9Z2RwNHkeMPdg2Sw6whaX/+a4QlI/S/ol8qBVXzoPSwtX1TBKTWVk=

Visual documentation

The error is to notice looking at the url

Environment

- FlutterFlow version: 4.1.81
- Platform:Web 
- Browser name and version: Chrome 127.0.6533.100
- Operating system and version affected: macOS Sonoma 14.4.1 (23E224)

Additional Information

I'm trying just to change the url of my app. I have changed the domain name of the landing page and the whole branding, so it would be necessary to change the flutterflow domain name too.

msusviela commented 1 month ago

Hi @valeriodipalo. I wasn't able to replicate from blank.
I entered your project, used the url that's on AppSettings -> Web publishing (I'm not putting here the URL because I don't know if you want to make it public). I see that you don't have a custom domain so the url is the one that finishes with .flutterflow.app. Then I created an account, navigated to the home, then I signed out and signed in again. The url for all those cases were the same. Tell me if i'm missing something.
Sometimes it can take a little time to deploy.

Is it working properly for you now? If not, please let me know.

valeriodipalo commented 1 month ago

Hi Micaela,

Thank you for your support. I'm experiencing an issue with the application I'm developing. The problem occurs during the sign-in process. Here's a step-by-step explanation:

  1. I've reproduced the error by changing the URL as shown in screenshot (1).
  2. When users attempt to log in from casewiz.flutterflow.app, using the Google sign-in button, they are redirected to prepwiz.flutterflow.app.
  3. I've attached screenshots to illustrate the issue:
    • Screenshot 2: The sign-in page with the original URL
    • Screenshot 3: The Google access page
    • Screenshot 4: The home page shown after Google sign-in (with different url).

As you can see, there's an unexpected change in the base URL during this process. The application starts at casewiz.flutterflow.app but ends up at prepwiz.flutterflow.app after sign-in.

Can you please help me understand why this URL change is happening and how to prevent it?

P.S. I've removed the screenshot from the message as it doesn't allow me to send it with them inside, if these are needed, can you let me know of a better procedure to share?

Il giorno sab 10 ago 2024 alle ore 02:54 Micaela @.***> ha scritto:

Hi @valeriodipalo https://github.com/valeriodipalo. I wasn't able to replicate from blank. I entered your project, used the url that's on AppSettings -> Web publishing (I'm not putting here the URL because I don't know if you want to make it public). I see that you don't have a custom domain so the url is the one that finishes with .flutterflow.app. Then I created an account, navigated to the home, then I signed out and signed in again. The url for all those cases were the same. Tell me if i'm missing something. Sometimes it can take a little time to deploy.

Is it working properly for you now? If not, please let me know.

— Reply to this email directly, view it on GitHub https://github.com/FlutterFlow/flutterflow-issues/issues/3596#issuecomment-2278915931, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATSC6JZWK3XNEINRJGD7QELZQVQCPAVCNFSM6AAAAABMJIQVK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZYHEYTKOJTGE . You are receiving this because you were mentioned.Message ID: @.***>

msusviela commented 1 month ago

@valeriodipalo, thanks for the quick response. I'm not seeing the screenshots, can you please upload them again? (I think it's because you probably responded by mail and maybe they were not recognized by the github thread).

From the bug report code you provided, the URL configured at web deploy is prepwiz.flutterflow.app. Can you confirm which one is the new URL? If the new is casewiz, I'll advice to put it again and redeploy.

Please let me know which one is the new URL so I can send it to our internal team. They have the right tools to configure manually this.

valeriodipalo commented 1 month ago

1

2 3 4

Here the screenshots I was metioning

msusviela commented 1 month ago

Thanks! As for now It's redirecting me correctly:

image.png

I also entered your project though the bug report code and now the correct url is showing to me (before i was shown the prepwiz one).

Can you check if it's working for you? I mentioned this to the team so they can fix it manually, but please let me know if it's working for you now

valeriodipalo commented 1 month ago

I'm still having the problem on my end. We can isolate the problem to the Google Sign-in button and functionality. When I sign-in with google from my laptop using different browsers (Chrome and Safari) or when I access to it through my phone (using Safari) as soon as the google log-in is completed i get redirected to the old url (prepwiz.flutterflow.app) instead of the desired one (casewiz.flutterflow.app).

This represents a major problem as with new updates the users who will access trough Google, will be redirected to a previous version of the app.

I'd like your support to solve the problem for the Google Sign-In use case. Thank you !

msusviela commented 1 month ago

I tested now and could replicate the issue. I sent it to the team so they can check your case, I'll let you know as soon as I have an answer

valeriodipalo commented 1 month ago

thank you very much Michaela, I'll wait for updates

Il giorno lun 12 ago 2024 alle ore 12:52 Micaela @.***> ha scritto:

I tested now and could replicate the issue. I sent it to the team so they can check your case, I'll let you know as soon as I have an answer

— Reply to this email directly, view it on GitHub https://github.com/FlutterFlow/flutterflow-issues/issues/3596#issuecomment-2283650243, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATSC6J6NTGOBPAOZOWZFXULZRCHYTAVCNFSM6AAAAABMJIQVK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBTGY2TAMRUGM . You are receiving this because you were mentioned.Message ID: @.***>

valeriodipalo commented 1 month ago

Hi Micaela, any update on the problem resolution ? I'm planning to launch soon and this represents a major problem

Il giorno lun 12 ago 2024 alle ore 12:53 Valerio Di Palo < @.***> ha scritto:

thank you very much Michaela, I'll wait for updates

Il giorno lun 12 ago 2024 alle ore 12:52 Micaela @.***> ha scritto:

I tested now and could replicate the issue. I sent it to the team so they can check your case, I'll let you know as soon as I have an answer

— Reply to this email directly, view it on GitHub https://github.com/FlutterFlow/flutterflow-issues/issues/3596#issuecomment-2283650243, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATSC6J6NTGOBPAOZOWZFXULZRCHYTAVCNFSM6AAAAABMJIQVK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBTGY2TAMRUGM . You are receiving this because you were mentioned.Message ID: @.***>

msusviela commented 1 month ago

Hi @valeriodipalo. Our team is looking into it

valeriodipalo commented 1 month ago

Hi Micaela, It is more than 4 days since your last message. I'm really looking forward to launch my app and not working sign in represents a huge blocker for it. Could you please update me with the current status to solve this issue? Thanks, Valerio

Il giorno mar 13 ago 2024 alle ore 15:19 Micaela @.***> ha scritto:

Hi @valeriodipalo https://github.com/valeriodipalo. Our team is looking into it

— Reply to this email directly, view it on GitHub https://github.com/FlutterFlow/flutterflow-issues/issues/3596#issuecomment-2286236648, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATSC6J2VTVADO3J6M4GCQLDZRIBWZAVCNFSM6AAAAABMJIQVK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBWGIZTMNRUHA . You are receiving this because you were mentioned.Message ID: @.***>

valeriodipalo commented 1 month ago

Is there any update on the issue?

Il giorno sab 17 ago 2024 alle ore 23:37 Valerio Di Palo < @.***> ha scritto:

Hi Micaela, It is more than 4 days since your last message. I'm really looking forward to launch my app and not working sign in represents a huge blocker for it. Could you please update me with the current status to solve this issue? Thanks, Valerio

Il giorno mar 13 ago 2024 alle ore 15:19 Micaela @.***> ha scritto:

Hi @valeriodipalo https://github.com/valeriodipalo. Our team is looking into it

— Reply to this email directly, view it on GitHub https://github.com/FlutterFlow/flutterflow-issues/issues/3596#issuecomment-2286236648, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATSC6J2VTVADO3J6M4GCQLDZRIBWZAVCNFSM6AAAAABMJIQVK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBWGIZTMNRUHA . You are receiving this because you were mentioned.Message ID: @.***>

github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 7 days with no activity. If there are no further updates, a team member will close the issue.