Check the links below for references
Use this https://codex.wordpress.org/Plugin_API/Filter_Reference/login_redirect for login redirect.
Use this https://codex.wordpress.org/Plugin_API/Filter_Reference/logout_url for logout redirect.
Check the links below for references
Use this https://codex.wordpress.org/Plugin_API/Filter_Reference/login_redirect for login redirect.
Use this https://codex.wordpress.org/Plugin_API/Filter_Reference/logout_url for logout redirect.