NextAuth: Cannot read properties of undefined (reading ‘accessToken’)
i have an API login that receive 2 param: usernameOrEmail and password, after fetch success it will return 3 param: accessToken, refreshToken and tokenType. Then i have another API that receive accessToken and return user information, but when i tried to login the server return https://next-auth.js.org/errors#jwt_session_error Cannot read properties of undefined (reading 'accessToken')
. The API is successfully run in Postman