Connect a frontend application to tutor on a remote domain

Hi, Im trying to build a front end application and trying to connect it to tutor instance running on a remote domain. My front-end application connects with tutor authentication and authenticates the user successfully. but after successful authentication, I get the following error: " Access token is still null after successful refresh". Can somebody help me on this?. Thanks in advance.

if your remote openedx run on https://lms.example.com, when you log in LMS, cookies are issued for https://lms.example.com (or maybe https://*.lms.example.com?)
So in your development env you have to start your project with https and host=apps.lms.example.com (depends on your MFE_HOST)
you can edit webpack config in \node_modules\@edx\frontend-build\config\webpack.dev.config.js
If you are on Windows you need to change Windows’ host file as well, something like
127.0.0.1 apps.lms.example.com