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.
app
.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?
Page preview broken when using Umbraco Identity
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
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?
Regards,
Rob.
Ignore my last comment Yakov - I was in the wrong project which was using Umbraco 7.15.3. Am trying it now...
Rob - Did this work for you in the end?
If so, can someone advise where (and how much of/which part) this code snippet is intended to be placed in the Umbraco codebase?
is working on a reply...