You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Unable to create authorization cookie for a hub on the different second-level domain" error for requests sent from server component of Next.js (API Platform)
#119
Open
c1tru55 opened this issue
Jul 3, 2024
· 0 comments
I want to get authorization cookie value for my app.localhost domain (public URL of app and mercure hub), but request is sent from server component of Next.js in API Platform, so my current request host is php (same as private URL of mercure hub). as a result I've got an error Unable to create authorization cookie for a hub on the different second-level domain "app.localhost"..
maybe it makes sense to compare request host not only with hub public url host, but also with private url?
The text was updated successfully, but these errors were encountered:
I want to get authorization cookie value for my
app.localhost
domain (public URL of app and mercure hub), but request is sent from server component of Next.js in API Platform, so my current request host isphp
(same as private URL of mercure hub). as a result I've got an errorUnable to create authorization cookie for a hub on the different second-level domain "app.localhost".
.maybe it makes sense to compare request host not only with hub public url host, but also with private url?
The text was updated successfully, but these errors were encountered: