[admin:watch] Login geht nicht unter Version 6.2.0 (RC1)

I forgot the Web Worker which don´t have access to the window. Can you try this:

 

// platform/src/Administration/Resources/app/administration/src/core/service/login.service.js

...

function cookieStorageFactory() {
    let domain;

    if (typeof window === 'object') {
        domain = window.location.hostname;
    } else {
        // eslint-disable-next-line no-restricted-globals
        const url = new URL(self.location.origin);
        domain = url.hostname;
    }

    const path = context.basePath + context.pathInfo;

    // Set default cookie values
    return new CookieStorage(
        {
            path: path,
            domain: domain,
            secure: false, // only allow HTTPs
            sameSite: 'Strict' // Should be Strict
        }
    );
}

...

 

4 „Gefällt mir“