How to extend auth controller in v4!?

<@456291376661790720> there are some strapi tutorials which are very helpfulp for this. I found one using NextAuth and that is the one I suse, obviously I am using NextJS for my FE