Skip to content

Prismic toolbar can't access previewSession cookie ("lax") on latest chrome release #63

@tcharlat

Description

@tcharlat

Related issue prismicio/prismic-client#128

I had a setup properly configured and working 3 weeks ago:

The endpoint was correctly set, the prismic toolbar was loaded via https://static.cdn.prismic.io/prismic.min.js

Then, around 3 to 2 weeks ago, the preview feature stopped functioning.

  • there is no toolbar anymore
  • the preview cookie is not sent to the server side renderer anymore

Both of these features were working correctly until recently.

When inspecting the page, I have a valid preview cookie

  • domain: the correct endpoint of the backoffice
  • name: io.prismic.previewSession

But the sdk is seemingly not detecting it's on a preview page and is not triggering the splash screen and toolbar as it was 3 weeks ago.

I can't test to roll back to a previous version of my site, even by checkout on a guaranteed functional commit, since the prismic sdk https://static.cdn.prismic.io/prismic.min.js is some kind of a "latest" version only.

I tried to find some documentation on a semver for the cdn, something like https://static.cdn.prismic.io/prismic.min.js?version=2.1 , but did not find any information indicating something like this is in place.

Can you help me investigate this regression ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions