2 flows? common and main
Question

I have started a new login and user registration web and mobile app

after creating my screen1 when I deploy and run my app, I see that the app uses a default screen (not mine)

only after a brief researching I see that the OnException under Common UI flow is instanced, 

how can I avoid this? below my tree screenshot, thanks in advance

mvp_badge
MVP

Hi Marcelo,

I would advice to first understand what the defaukt authentication logic is that the aoolicatuon template provides, and then change it to your needs.

You can change the code that is provided in the common flow for login.

The exception handler is crucial to redirect a user to login screen when not yet authenticated and also to redirect to a no permission screen if a logged in user tried to access a screen he or she has no permission to.

Regards,

Daniel


ok will check then, thanks Daniel

mvp_badge
MVP

Hi Marcelo

Look into this document to understand the type of exceptions. For the redirection when you open your app because no user logged in check the security exceptions. you also have this other document to understand how to handle exceptions.

Regards,

Marcelo

Marcelo Ferreira wrote:

Hi Marcelo

Look into this document to understand the type of exceptions. For the redirection when you open your app because no user logged in check the security exceptions. you also have this other document to understand how to handle exceptions.

Regards,

Marcelo

thanks will check both


  • Common. Contains UI and logic the app reuses in Screens and Blocks. For example, menus, info about the signed-in user, the sign in logic.
  • MainFlow. The default UI Flow where you can start adding Screens in your app. This UI Flow is empty in a new app.
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.