Solution:
Add this line in the header module section of the .htaccess file.
Header always edit Set-Cookie (.*) "$1; SameSite=None; Secure
Hope that’s help!