Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Unable to get page preview working whilst using Umbraco 8.5.3 and Umbraco Identity 7.1.0.
I have even created a vanilla instance of the latest version of Umbraco (8.6.4) and Umbraco Identity (7.1.1) with the starter kit website and previewing is still broken. You are only ever seeing the published version of the page.
you should add this part to your code
.UseUmbracoBackOfficeCookieAuthentication(UmbracoContextAccessor, RuntimeState, Services.UserService, GlobalSettings, UmbracoSettings.Security, PipelineStage.Authenticate)
.UseUmbracoBackOfficeExternalCookieAuthentication(UmbracoContextAccessor, RuntimeState, GlobalSettings, PipelineStage.Authenticate)
// TODO: this would be considered a breaking change but this must come after all authentication so should be moved within ConfigureMiddleware
.UseUmbracoPreviewAuthentication(UmbracoContextAccessor, RuntimeState, GlobalSettings, UmbracoSettings.Security, PipelineStage.Authorize);
We have applied this code, but are still unable to preview editorial changes when using Umbraco (8.6.4) and Umbraco Identity (7.1.1). Do you have any other ideas that we can try?
Thanks Yakov. The parameter list you have mentioned does not match what I have (Umbraco 8.5.3). In order, the maximum number of parameters for the three methods is 3, 2 and 2 respectively. What version are you using?
Ignore my last comment Yakov - I was in the wrong project which was using Umbraco 7.15.3. Am trying it now...
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted