Hi @guy.hillel
Welcome to the Auth0 Community!
I am sorry about the late reply to your inquiry.
Regarding the CORS issue that you are receiving, most probably the login is server on a different origin than the one you are requesting it.
I would recommend to review these community posts:
- Cors Error No 'Access-Control-Allow-Origin' header is present on the requested resource - #8 by Alwin-dotcom
- Cors Error No 'Access-Control-Allow-Origin' header is present on the requested resource
Otherwise, you can modify the session lifetime within the Auth0 Dashboard or using the Management API.
You can refer to our documentation regarding this matter.
If you have any other questions, feel free to leave a reply or post on the community again!
Kind Regards,
Nik