Nextjs app router

Hello there is there any source or tutorial for app router redirecting to dashboard after successful auth I couldn’t understand the documentation