Demo sharing without login credentials

Hi…

I have an APP and I want tho share it to a client so he can test the demo. But when I share it, it asks for credencials. If I share my credentials, the client will have access to my whole account and code.

How can I share a demo without sending my credentials?

Have you published the app to a URL? That’s the normal way for a user to access an Anvil app. You send them the URL and they use the web app. Under no circumstances should you need to give anyone else your Anvil login info.

Hi… I go to the options menu, Publish APP (also tried Share APP), Share via private link… I copy the link and send it and it asks for credentials… any suggestion?

Thank you

Can you send me the same link via a PM so I can see what credentials it’s asking for? Or post a screenshot of what it’s asking when you click it.

Thanks for the PM. That app is asking for the user to log in or register immediately. All your client needs to do is to register as a new user, then they’ll be able to use the app.

If you don’t want the app to ask the user to log in or register immediately, you can change the app to not require that. It’s pretty normal to let the user see a home page or something and only ask them to log in or register when they try to go to a page that needs it.

Thank you very much. I will send now the demo to the client.

Sorry to bother again… I don´t find an option to change the app to not require the user to login. If you can help me please. Thank you

There’s no option, it’s based on how you coded the app. At some point during the startup, you’re calling anvil.users.login_with_form(). That’s what’s asking for the user to login.

Thank you… commenting this was the solution for this purpose… :slight_smile: