umbraco / UmbracoIdentityExtensions

Code files & installation that enables easy extensibility points for ASP.Net Identity and the Umbraco back office
MIT License
38 stars 23 forks source link

Reorder the standard owin startup sample to fix preview problems. #39

Closed cleversolutions closed 4 years ago

cleversolutions commented 4 years ago

Reorder the standard startup sample so base.Configuration(app); occurs last, ensuring preview doesn't break.

cleversolutions commented 4 years ago

Wait, this doesn't work as well as I thought. I simply tested that reordering would fix preview, which it does; however, the token server throws a null exception at BackOfficeAuthServerProvider.cs:47... oops. I'll look into this a bit further.

cleversolutions commented 4 years ago

This seems to be working. I can login into Umbraco backoffice, get tokens, and preview. Thanks @Shazwazza for the advice in #37.

emmaburstow commented 4 years ago

Hey @cleversolutions

Thanks for the work here and for the updates too. We'll take a look and let you know if we need anything more from you or if we have any questions.

Emma

Shazwazza commented 4 years ago

nice, i'll get that merged in and released on monday!