Redirect to Original URL After Login

Currently if a user tries to access and auth protected page without being logged in, they are redirected to the login page, and then after successful auth they are redirected to the home page. Ideally they would be redirected from login to the original url they were trying to access instead of the home page.

Related issue: user agent detection in middleware should send an deeplink to the requested location in-app if it detects a mobile user.

Please authenticate to join the conversation.

Upvoters
Status

Planned

Board

πŸ’‘ Feature Request

Date

5 months ago

Author

Linear

Subscribe to post

Get notified by email when there are changes.