Authenticated State in Visual Editor | Community
Skip to main content
Level 2
December 13, 2024
Solved

Authenticated State in Visual Editor

  • December 13, 2024
  • 2 replies
  • 1189 views

I am using the visual editor in Adobe Target to make changes to a component that only shows on the page if you are logged in. The issue I am running into is making the page inside the visual editor recognize that I am logged in. I am logged in to the site in the browser, but when it loads in the visual editor, it is in a logged out state. If I try logging in through the visual editor, it errors out and just shows a blank page. Is there anyway to force the visual editor to recognize I am logged in to my site?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by kandersen-1

Hi @melissama7 , 

It is most likely caused by login-related cookies being blocked.

I would start with trying in Firefox, if possible. Target seems to function better in Firefox. If you're still having issues, see if you can identify any required cookies for the login. If any of the cookies don't have SameSite=None, they will not be passed when you're trying to login via the VEC browser. More details here.

2 replies

Gokul_Agiwal
Community Advisor
Community Advisor
December 13, 2024

Hi @melissama7 

Basically, The VEC loads the page in an iframe, which often prevents it from inheriting the logged-in state due to cookie or session issues.

 

Did you try with browse mode available in VEC through which you can browse the site and then do login. Once you login successfully then shift to compose mode for doing modifications/changes to your page. 

 

In case if this already tried and still facing issues, check once with injecting VEC helper extension in chrome browser. 

https://experienceleague.adobe.com/en/docs/target/using/experiences/vec/troubleshoot-composer/vec-helper-browser-extension 

See if this options helps. 

Level 2
December 17, 2024

Thanks! The documentation helped! Was able to mess with the helper extension to get it working. I also used Firefox over Chrome which seemed to work much better.

Gokul_Agiwal
Community Advisor
Community Advisor
December 17, 2024

Hi @melissama7 - Glad that issues resolved for you. 

kandersen-1
Community Advisor
kandersen-1Community AdvisorAccepted solution
Community Advisor
December 15, 2024

Hi @melissama7 , 

It is most likely caused by login-related cookies being blocked.

I would start with trying in Firefox, if possible. Target seems to function better in Firefox. If you're still having issues, see if you can identify any required cookies for the login. If any of the cookies don't have SameSite=None, they will not be passed when you're trying to login via the VEC browser. More details here.

Test forum signature
Level 2
December 17, 2024

Thank you! Using Firefox and messing with the VEC extension options worked. I was able to use browse to log in through the VEC and change what I needed.