Get , open it once and sign in. Then come back here and press the button again.

othneildrew/nextjs-auth-example on Take My Repo