React To Next header cookies/Token

Hi, for some context. The backend is in python frontend in react and the auth system works by going Frontend clicks a link and gets redirected to the backend -> backend redirects to discord -> discord to frontend and the session token gets saved on the frontend. by using credentials: "include" in axios the backend retrieves the session token in any call I make to the backend. is there a more optimal way of doing this? (don't suggest next-auth cuz its bad) if this method is ok, is there a way to do the same in nextJs? because after porting this doesn't work in any API call I make to the backend, since the token isn't there. is there a way to bind this session token into the request header? Legit there are no guides anywhere on this..