SaaS Boilerplate - Open Source and free SaaS stack that lets you build SaaS products faster in React, Django and AWS. Focus on essential business logic instead of coding repeatable features!
Currently when someone is trying to access application page without being logged in (like invitation from the email message) the app will redirect user to the login page. After successful login, user is always redirected to the home screen.
Describe the solution you'd like
App should save the url which not logged in user is trying to access in returnUrl GET param and after login/sign up should redirect user to this page.
Also before redirect to login page the app should display a toast that page that user is trying to access require login.
Description
Currently when someone is trying to access application page without being logged in (like invitation from the email message) the app will redirect user to the login page. After successful login, user is always redirected to the home screen.
Describe the solution you'd like
App should save the url which not logged in user is trying to access in
returnUrl
GET param and after login/sign up should redirect user to this page. Also before redirect to login page the app should display a toast that page that user is trying to access require login.Describe alternatives you've considered
No response
Additional context
No response
Validations