I need someone to solve coding problem

Job ID: 34868747

Budget: €18 – €36 EUR

I am working on a next.js task where i should implement authnext.js login via custom provider.
The problem is that clicking signout doesn't clear the session, and stays logged in.
Related categories: JavaScript React.js OAuth Next.js