Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.
SOLVED

Cloud Service (Site Verification) value not displaying through dispatcher

Avatar

Level 1

Hi,

We have set up Site Verification through the Cloud Service Configuration. We can add the service to our pages and we successfully see the output in the page source in both author and publisher. However when we view the page through a dispatcher the value is not included in the page source. Has anyone else had this issue?

Presumably it's a permissions issue with the anonymous user when going through the dispatcher, but how can this be resolved with such Cloud Service Configurations?

Thanks

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Dear Stephen,

Good, -1 thing to look for.

Does meta tag displays on publish when you are not logged in to the instance?

Could be the issue with permissions:

Permissions on Publish for anonymous

Regards,

Peter

View solution in original post

4 Replies

Avatar

Community Advisor

Dear Stephen,

Have you tried to clear Dispatcher cache?

Regards,

Peter

Avatar

Level 1

Hey Peter,

Yes have deleted all cache on the dispatcher. The <meta> tag displays fine in the page in author and publisher, just not when viewing through dispatcher. The developer who worked on this has extended from WcmUsePojo where they get the ResourceResolver from the request and adaptTo ConfigurationManager. Usually we would use a service user to get the resource resolver, but not sure if this is the issue.

Avatar

Correct answer by
Community Advisor

Dear Stephen,

Good, -1 thing to look for.

Does meta tag displays on publish when you are not logged in to the instance?

Could be the issue with permissions:

Permissions on Publish for anonymous

Regards,

Peter

Avatar

Level 1

You were indeed correct, it was due to the permissions for the anonymous user. Thank you!