Skip to content
This repository has been archived by the owner on Feb 18, 2025. It is now read-only.

Cannot leave configuration in web spotlight #219

Open
JiriLojda opened this issue Mar 7, 2023 · 0 comments
Open

Cannot leave configuration in web spotlight #219

JiriLojda opened this issue Mar 7, 2023 · 0 comments

Comments

@JiriLojda
Copy link
Member

Brief bug description

When I open the sample app in the web spotlight, I can't leave the configuration page. Submitting the form doesn't work, because the cookie is not accessible to the page in the iframe. You need to set the SameSite=None;Secure policy. See https://kontent.ai/learn/tutorials/develop-apps/build-strong-foundation/set-up-preview/#a-set-up-preview-for-web-spotlight

Repro steps

  1. Set the deployed sample app's URL as a preview URL and enable web spotlight.
  2. Open web spotlight
  3. Set your projectID and submit the form.
  4. The app still doesn't open (you stay on the configuration page)

Expected behavior

The app should open the homepage route with the project id in a cookie.

Test environment

  • chrome
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant