Facing discrepancy between internal and public app

My goal: To enable external users to use my app without logging in

Issue: Internally the solution works fine but when trying it publicly, the page transition does not happen.

Steps I've taken to troubleshoot: I am sharing a demo video for both cases, please help me out.

Internal: Area — Screen Studio

External: Area — Screen Studio

In the external one it gets stuck permanently and does not shift to the next page even though next page is in the same app.

Additional info: (Cloud or Self-hosted, Screenshots) cloud based

Hi @Prakhar_Aggarwal1,

Thanks for reaching out! In the external example, are there any errors in the browser console? If so, can you share them here?

What is the name of the app/page that isn't loading?

This could be a good topic to bring to office hours as well, if you're free tomorrow at 11 am pacific

Hi Tess,

Thanks for the reply.

I am attaching a snapshot of the exact errors I am getting from the console. I have captured logs while trying to run the app twice which can help navigate the situation better.

I am facing similar problems in almost all the apps across retool. Nothing specific to one app.

For the office hours, the timing is a little odd for me considering my timezone. Will surely try.

The logs seem to show an authentication error and is requesting an access token from Retool but the apps are supposed to be public and should not require any authentication?

Hi @Tess ,

Please respond to this query. This is required by me on urgent basis.

Hi @Prakhar_Aggarwal1,

I looked at the logs on our side. I see that the original app is shared publicly, but it looks like the checkAuth request happens right after the LogSession query. Are there any event handlers on success of LogSession that are attempting to open an app that has not been shared publicly?

Any supported user login use cases would need to be set up with non-public apps.

Hi @Tess ,

All the apps within this process are public. The matter of fact is that Sign up and the next screen are within the same app so the chance of one being public and other not being public is actually not possible.

Post running LogSession, event handler opens a new page within the same app called verifyEmail which is within the same scope.

Please let me know if I am missing something. You can check out apps–> Authentication and Dashboard in my profile.

Hi @Prakhar_Aggarwal1,

I do see that the Authentication and Dashboard apps are shared publicly. Public sharing applies to all components/views/etc within an app. Is the recording in your first post from Dashboard or Authentication? The error in the recording indicates that the app is attempting to open an app called Sign Up Login Forgot Password (in a different Retool organization)

Was this app exported from another Retool org?

Hi @Tess ,

Yes the recording are from the same pages as mentioned.

The app was exported from another org but a very long time ago. At that point in time, there were no multi page apps.

Please help me navigate this.

Thank you! That is helpful context for me to try to reproduce this issue for our team. I will keep you posted if I am able to reproduce it and hopefully find a workaround

Hey @Tess ,

What if you are not able to reproduce it? How do I solve this issue then?

I mean?

@Tess

if you want to reproduce, you can just go to the public link for the pages and then try signing up. You will understand the errors.

Hi @Prakhar_Aggarwal1,

Ok, thanks! I did go to the public link, and it looks like there is an event on sign up that is no longer needed (it is attempting to open an app in another org). That said, I don't think that explains the behavior you're seeing. Also, my apologies, but it did successfully run the sign up query with my "test" information.

During my test, the sign up, log session, and get session queries all run successfully :thinking: As you noted, the next page, verify, never resolves. I think it might have to do with the / in the page url field. Could you try removing the forward slash?