I am working on a web app where user will login and after login it will be redirected to a page to fill some manadtory details.After filling those details user will be redirected to main app page and user can work normally.
My problem is that if after login user changes the url directly than it allows user to bypass the details filling page and go to main app page.
How can I prevent user to change the url and force him to fill the details first?
Below is the flow
Login Page --> Details Filling -->Home page