File tree 1 file changed +2
-1
lines changed
packages/backend/src/tokens 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ export async function authenticateRequest(
90
90
91
91
const url = new URL ( `https://${ frontendApiNoProtocol } /v1/client/handshake` ) ;
92
92
url . searchParams . append ( 'redirect_url' , redirectUrl ?. href || '' ) ;
93
+ url . searchParams . append ( '_multiple_apps_same_domain' , 'true' ) ;
93
94
94
95
if ( pk ?. instanceType === 'development' && authenticateContext . devBrowserToken ) {
95
96
url . searchParams . append ( constants . QueryParameters . DevBrowser , authenticateContext . devBrowserToken ) ;
@@ -110,7 +111,7 @@ export async function authenticateRequest(
110
111
let sessionToken = '' ;
111
112
cookiesToSet . forEach ( ( x : string ) => {
112
113
headers . append ( 'Set-Cookie' , x ) ;
113
- if ( x . startsWith ( `${ constants . Cookies . Session } = ` ) ) {
114
+ if ( x . startsWith ( `${ constants . Cookies . Session } ` ) ) {
114
115
sessionToken = x . split ( ';' ) [ 0 ] . substring ( 10 ) ;
115
116
}
116
117
} ) ;
You can’t perform that action at this time.
0 commit comments