That is easy to configure the Redirect to customer dashboard after login in Magento 2 feature in backend. With Magento 2 you can enable or disable to redirect customer to customer dashboard after they login. If you want to let customer stay on current page or continue shopping, you should consider that feature because redirect feature is enabled by default.
Stores. In the
Customersin the panel on the left
Login Optionssection, and continue with following:
Set Redirect Customer to Account Dashboard after Logging in field, select one of the following:
Yes: allow to show the customer account dashboard when customers log in to their accounts.
No: no redirect to customer account dashboard when customers log in to their accounts.
When complete, click
Ref: Magento 2 User Guide
It comes to the end of tutorial: How to Rediect to Customer Dashboard after Login in Magento 2.