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);
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
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...
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.