How can I handle the User who is accessing the direct URL?

Hi all.

I'm wondering how I can handle the redirect of end-user when Login who is accessing to the application like following URL.

https://[Environment]/Aapp/Screen2/


The outcome I checked is like this.

Common Login ? pass the authentication ? redirected to the TopPage

Once I pass the authentication, I can go to  the page with direct URL like 

https://[Environment]/Aapp/Screen2/.


What action controls this flow?

Is it possible following case?

enter the direct URL like  https://[Environment]/Aapp/Screen2/


Login Page


pass the authentication


redirect to the page which end-user originally wanted to access.



I guess when we hit the URL, there is a action or something to call the Common Login action.

Is it correct? 

If so, where is it?



Thank you in advance.

Hi,

This is default behaviour implemented in the common workflow of you web app:

When user accesses a page and is not logged int then it is redirected to the NoPermission page, which has following preparation.

When redirected here to the login page, then on succesful login following code executes, the Common/ExternalURL is the redirection to the URL the user entered.


Does this answer your question?

Regards,

Daniel

Yukiya Miyamoto wrote:

Hi all.

I'm wondering how I can handle the redirect of end-user when Login who is accessing to the application like following URL.

https://[Environment]/Aapp/Screen2/


The outcome I checked is like this.

Common Login ? pass the authentication ? redirected to the TopPage

Once I pass the authentication, I can go to  the page with direct URL like 

https://[Environment]/Aapp/Screen2/.


What action controls this flow?

Is it possible following case?

enter the direct URL like  https://[Environment]/Aapp/Screen2/


Login Page


pass the authentication


redirect to the page which end-user originally wanted to access.



I guess when we hit the URL, there is a action or something to call the Common Login action.

Is it correct? 

If so, where is it?



Thank you in advance.


Thank you for your reply.

Your answer is exactly what I wanted to ask!


If you know, could I ask one more thing?

Is that the same flow on Reactive Web App?


I can't find the Logic which is like you told me...


regards.

Solution

Yes, simular (as it is implemented as client actions, not server actions).



Solution

Daniël Kuhlmann wrote:

Yes, simular (as it is implemented as client actions, not server actions).




Thank you very much!

This is exactly what I was looking for!


Best Regards.