Sign in Register
Our Umbraco
  • Forum
  • Packages
  • Documentation
  • Community
  • Discord
  • Download
  • Sign in
  • Our Umbraco
  • Search
  • owin appstartup
  • Add a custom logic to Umbraco User login method in v7 "owin:appStartup"
    Forum / Add a custom logic to Umbraco User login method in v7 "owin:appStartup"
    Created: March 05, 2021 - Last update: March 25, 2021
    Hello Community I'm working on some extra security layer for Umbraco users' login form. Is there a way to add extra logic to users' login flow without changing "owin:appStartup" value in the web.config? Thanks, AlexThe answer is that you have to change "owin:appStartup" value in the web.config.
  • Owin startup conflict?
    Forum / Owin startup conflict?
    Created: November 27, 2015 - Last update: November 27, 2015
    I had my own owin startup class in my project. This doesn't seem to work anymore since 7.3. I assume this is because Umbraco has it's own startup. Is it possible to run both some way?Never mind I solved it by letting my owin startup class inherit from Umbraco.Web.UmbracoDefaultOwinStartup override c…
  • OWIN Startup
    Forum / OWIN Startup
    Created: April 01, 2015 - Last update: January 28, 2022
    Hi all, I'm hoping someone can help me, I have a method that I want to run on start up. I've looked at similar topics and made the changes that I thought would fix my issue, unfortunately not - The method in question is never executed when I start my application. Any help is greatly appreciated :) …
  • Umbraco custom OWIN
    Forum / Umbraco custom OWIN
    Created: October 27, 2021 - Last update: April 06, 2022
    Does Umbraco 9 support custom OWIN. I have to use LDAP authentication for users to login.Did you find any solution?
  • owin startup and 2FA
    Forum / owin startup and 2FA
    Created: July 19, 2018 - Last update: November 12, 2018
    After upgrading Umbraco CMS from 7.5.4 to 7.11.1 version I have a problem with the login, it keeps logout me every 1 min! Digging in the forums, common questions and the code I've got, I updated the owin:startup setting from **FortressOwinStartup** to **UmbracoDefaultOwinStartup**! This update was d…
  • Custom Owin login
    Forum / Custom Owin login
    Created: August 01, 2016 - Last update: August 09, 2016
    So I'm trying to allow for a third party Owin login into the back office for my website. There seems to be a decent amount of documentation on logins with Google, Facebook, etc. however I can't seem to find anything on a custom log in. What is needed to allow for a custom log in to work, and how sho…
  • Custom OWIN Backoffice Authentication
    Forum / Custom OWIN Backoffice Authentication
    Created: February 24, 2018 - Last update: February 24, 2018
    Hey everyone, I have some weired problems or misunterstanding with my OWIN Implementation. I build up a middleware after reading many examples. In the AuthenticateCoreAsync function, I get a complete AuthenticationTicket based on the UmbracoBackOfficeIdentiy, but I am not logged in. Do I miss some…
  • Owin: Is is possible to self host Umbraco?
    Forum / Owin: Is is possible to self host Umbraco?
    Created: February 21, 2017 - Last update: April 11, 2017
    I have Umbraco site working via Owin. Is it possible to host it via console application as described here: https://docs.microsoft.com/en-us/aspnet/web-api/overview/hosting-aspnet-web-api/use-owin-to-self-host-web-api The problem is that I cannot run integration tests without having start IIS Exp…
  • Access identity within Owin middleware
    Forum / Access identity within Owin middleware
    Created: April 21, 2021 - Last update: April 21, 2021
    I am porting a site from v7 to v8. In v7 there is a IHttpHandler that performs access control of file requests. I could probably use the same implementation in v8 but I would rather do it in an Owin middleware. I have a simple middleware running and I am able to see the requests in my code. To do…
  • OWIN startup issue with Umbraco Cloud
    Forum / OWIN startup issue with Umbraco Cloud
    Created: January 23, 2018 - Last update: February 01, 2018
    In our current project, we are using the **Hangfire** library (1.6.17) - the lib has a **OWIN** dependency (1.0.0). Here is the code to call the hangfire launch: using Microsoft.Owin; using Owin; using Umbraco.Web; using Hangfire; using Hangfire.Dashboard; using Hangfire.A…
  • Umbraco Azure AD B2C Owin
    Forum / Umbraco Azure AD B2C Owin
    Created: August 13, 2018 - Last update: October 29, 2019
    i am trying to authenticate my umbraco front-end members using my azure b2c tenant , i have installed the package "UmbracoIdentity" https://github.com/Shazwazza/UmbracoIdentity that allows to create owin startup class to have the b2c middleware. authentication works just fine , but on-receiving (…
  • NuGet 7.1RC, Azure Website & OWIN Startup YSOD
    Forum / NuGet 7.1RC, Azure Website & OWIN Startup YSOD
    Created: March 27, 2014 - Last update: March 28, 2014
    Hello guys & girls,I am in the process of trying to rebuild the uHangout.co.uk website after it died misserably, not sure what I done or changed.  Anyway that is besides the point and I am after some help & advice from all you lovely people. I have downloaded an Umbraco 7.1RC from NuGet…
  • OWIN on Umbraco 7.2.6 - UmbracoContext.Current is always null
    Forum / OWIN on Umbraco 7.2.6 - UmbracoContext.Current is always null
    Created: November 23, 2016 - Last update: February 05, 2018
    Hi all, I have managed to start OWIN with the following configuration. public class Startup { public void Configuration(IAppBuilder app) { var config = new HttpConfiguration(); config.MapHttpAttributeRoutes(); app.UseWebApi(config); config.EnsureInitialized(); } } And…
  • Google Auth (OWIN) - host name failure
    Forum / Google Auth (OWIN) - host name failure
    Created: January 21, 2022 - Last update: January 21, 2022
    Hi I am pretty sure there is a simple solution for this issue and I am hoping someone can save me digging through piles of documentation. We have a load balancer that sits in front of the web farm which terminates SSL. Between the SSL termination and the web site in the farm is HTTP traffic. …
  • Custom OWIN Startup file in Umbraco Cloud project
    Forum / Custom OWIN Startup file in Umbraco Cloud project
    Created: January 20, 2020 - Last update: January 22, 2020
    I'm trying to setup a custom OWIN startup class for an Umbraco 8.4.0 project which was setup with Umbraco Cloud as-a-service. The issue is I can't seem to get the project to recognise my custom startup file exists. Here is the code: [assembly: OwinStartup(typeof(FischyMusic.Startup))] …
  • Owin frontend login affects backoffice login aswell
    Forum / Owin frontend login affects backoffice login aswell
    Created: September 22, 2020 - Last update: October 06, 2020
    Hello, I am in the process of implementing IdentityServer login on my umbraco 7.5.12 installation. The current state of my implementation is as follows: - Frontend login works fine against IdentityServer - Backoffice login works like always when not authenticated in frontend - Backoffice login…
  • Umbraco Active Directory Password Validator
    Backoffice extensions / Packages / Our
    Created: October 18, 2016 - Last update: December 14, 2023
    Validate user password against active directory. Based on forum solution. Install Package or download and save to bin Install-Package MissingCode.Umbraco.AdPasswordChecker Add Active Directory connection string <add name="ADConnectionString" connectionString="LDAP://127.0.0.1/OU=Users,…
  • Is there any way how can i integrate Owin based security?
    Forum / Is there any way how can i integrate Owin based security?
    Created: March 27, 2014 - Last update: December 06, 2014
    I have installed latest vestion of umbraco 7 into my mvc5 project. As most of you know, mvc 5 came with new security "on steroids" using owin authentification. I would like to use the build in google and facebook intergration with umbraco membership. Any idea how to do this?Umbraco 7 does not suppor…
  • Moving Owin Startup class to seperate class library project
    Forum / Moving Owin Startup class to seperate class library project
    Created: May 25, 2021 - Last update: May 25, 2021
    Dear All, I have implemented Owin startup class which has combination of frontend and BackOffice authentication with Azure AD. I don't want to repeat the logic and hence to make re-usable code I want to move the classes to separate class project. Is it possible to move owin startup class to sepa…
  • Authenticating custom Umbraco controller with OWIN/OIDC against Azure AD B2C
    Forum / Authenticating custom Umbraco controller with OWIN/OIDC against Azure AD B2C
    Created: December 21, 2017 - Last update: December 21, 2017
    I am stuck. I have a custom Umbraco controller which inherits from `RenderMvcController` and when the `Index()` action method is hit a file is returned. This works, but what I want to do is to protect it by decorating the action with an `AuthorizeAttribute` and then requiring the user to authentica…
  • Aspnet Identity (OWIN) - Front end authentication without impacting &quot;backoffice&quot;
    Forum / Aspnet Identity (OWIN) - Front end authentication without impacting "backoffice"
    Created: February 13, 2017 - Last update: March 16, 2023
    Hi This is my first post in this forum. Please excuse me if this is already asked by some one and answered. I want to have "custom authentication" for my website (just the front end) , I do not want to change the backend. The "front end" requires valid credentials (this is validated against an…
  • Account (auto)linking not working with Owin AD FS/WS-Federation authentication
    Forum / Account (auto)linking not working with Owin AD FS/WS-Federation authentication
    Created: August 10, 2016 - Last update: May 30, 2018
    I am attempting to implement claims based authentication to the back office (7.4.3) with an on-premise AD FS server using WS-Federation. I have followed the steps in identity provider documentation and the provider button is showing as expected at the login screen. However, after a succesful l…
  • Umbraco and OWIN version: 4.0 instead 3.1 ( default ). Is&#39;t possible to use v4?
    Forum / Umbraco and OWIN version: 4.0 instead 3.1 ( default ). Is't possible to use v4?
    Created: March 24, 2018 - Last update: March 24, 2018
    Umbraco and OWIN version: 4.0 instead 3.1 ( default ). Is't possible to use v4?
  • When we upgrade Umbraco from 7.1.9 to 7.3.0 a error come IBackOfficeUserManagerMarker and OWIN
    Forum / When we upgrade Umbraco from 7.1.9 to 7.3.0 a error come IBackOfficeUserManagerMarker and OWIN
    Created: September 03, 2023 - Last update: September 03, 2023
    Error during installation No Umbraco.Core.Security.IBackOfficeUserManagerMarker has been registered with Owin which means that no Umbraco back office user manager has been registered Any one can help me on this error.![enter image description here][1] [1]: /media/upload/9df9348a-684f-4816-8744-…
  • OWin access token
    Forum / OWin access token
    Created: May 15, 2019 - Last update: May 15, 2019
    Facebook login is working perfectly but now i want to go a step further. With the facebook Opengraph, you receive a facebook access token when you login. But without Umbraco i used to store this as a claim, but as Umbraco members don't have claims, how do i do this? And some example code would be e…
  • SSO, SAML, Azure Active Directory and Umbraco Membership
    Forum / SSO, SAML, Azure Active Directory and Umbraco Membership
    Created: June 05, 2019 - Last update: June 05, 2019
    I'm looking for current ways to use Azure Active Directory to single-sign-on users/members on the front end for the latest version of Umbraco, 7.13.2. I tried UmbracoIdentity but it throws a nasty error and kills the site. - The OwinStartupAttribute.FriendlyName value 'UmbracoDefaultOwinStartup' d…
  • Owin account linking - broken profile view?
    Forum / Owin account linking - broken profile view?
    Created: February 17, 2021 - Last update: July 14, 2022
    Setting up a brand new umbraco site running 8.11.1. Installing UmbracoCms.IdentityExtensions.Google and confiure in according to documentation. The login with google button appears and the login actually works. But in the backoffice, the profile shown when clicking the user icon top right is brok…
  • Setting up UmbracoCms.IdentityExtensions - but receiving errors
    Forum / Setting up UmbracoCms.IdentityExtensions - but receiving errors
    Created: February 24, 2018 - Last update: February 24, 2018
    Hi, I am trying to set up a custom Umbraco Back Office Login for Umbraco 7.8.1. I have read a lot of articles on line about **UmbracoCms.IdentityExtensions,** that can be extended to use **Google**/**Facebook** login etc. I have performed the following steps. 1. I have setup a clean / empty web…
  • Error on first run after installing a customers site
    Forum / Error on first run after installing a customers site
    Created: January 18, 2016 - Last update: July 26, 2017
    I get this error on a 7.3 build: The following errors occurred while attempting to load the app. - The OwinStartupAttribute.FriendlyName value 'UmbracoDefaultOwinStartup' does not match the given value '' in Assembly 'umbraco, Version=1.0.5750.18164, Culture=neutral, PublicKeyToken=null'. - No asse…
  • Umbraco SSO using ADFS 3.0
    Forum / Umbraco SSO using ADFS 3.0
    Created: September 21, 2016 - Last update: October 05, 2016
    We are trying to integrate ADFS 3.0 WS federated authentication with Umbraco for front-end users. We just want the users in AD to access the Umbraco website. We were able to implement ADFS authentication using normal ASP.NET MVC web site using Owin middleware (Microsoft.Owin.Security.WsFederation)…
  • Hangfire.io with Umbraco 7.4.0
    Forum / Hangfire.io with Umbraco 7.4.0
    Created: February 19, 2016 - Last update: February 22, 2016
    I'm attempting to set up Hangfire in an existing Umbraco 7.4 site. I have my configuration class set up as so: [assembly: OwinStartup(typeof(HangfireStartup))] namespace Jobs { public class HangfireStartup { public void Configuration(IAppBuilder app) …
  • Umbraco 7.10.+ and Active Directory Authentication: the guide is not valid and we are not able to connect to backoffice with AD
    Forum / Umbraco 7.10.+ and Active Directory Authentication: the guide is not valid and we are not able to connect to backoffice with AD
    Created: May 23, 2018 - Last update: May 24, 2018
    Hi, I configured Umbraco with a new OWIN startup like this: using Microsoft.Owin; using Owin; using Umbraco.Core; using Umbraco.Core.Security; using Umbraco.Web; using Umbraco.Web.Security.Identity; using Umbraco.Core.Models.Identity; using Umbraco.IdentityExtension…
  • Azure Load Balanced Environment extreamly slow
    Forum / Azure Load Balanced Environment extreamly slow
    Created: May 05, 2021 - Last update: May 06, 2021
    Azure Load Balanced Environment with azure blob service extremely slow. This only happens when the app spins up and the first click on every page takes forever to load. So it seems like it is loading the page into cache on the first visit, not when the app loads. My App config for both backoffice…
  • 7.4.1 Upgrade results in: &#39;UmbracoDefaultOwinStartup&#39; does not match the given value &#39;&#39;
    Forum / 7.4.1 Upgrade results in: 'UmbracoDefaultOwinStartup' does not match the given value ''
    Created: March 14, 2016 - Last update: March 14, 2016
    Upon upgrading a project from 7.2.8 - 7.4.1 via NuGet, compiling and reloading, we received the following error message: The following errors occurred while attempting to load the app. - The OwinStartupAttribute.FriendlyName value 'UmbracoDefaultOwinStartup' does not match the given value…
  • Secure web API by using bearer tokens from Azure AD
    Forum / Secure web API by using bearer tokens from Azure AD
    Created: October 17, 2017 - Last update: October 24, 2017
    Hello! I need to secure a web api (NOT backoffice) with bearer tokens from Azure AD. This should be possible according to https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-devquickstarts-webapi-dotnet . But how do I integreate this with Umbraco? Can anyone point me i…
  • Preview with Custom Backoffice Authentication
    Forum / Preview with Custom Backoffice Authentication
    Created: September 16, 2016 - Last update: September 19, 2016
    We are using a custom Backoffice OWIN provider to authenticate our users against our local Active Directory. However, since switching to this new method a few versions ago the Preview feature no longer works. I can see in the .config file in the \Umbraco\App_Data\Preview folder that the changes exis…
  • var imageId = item.GetPropertyValue&lt;int&gt;(&quot;backgroundImage&quot;); returning 0 when it should be 1513
    Forum / var imageId = item.GetPropertyValue<int>("backgroundImage"); returning 0 when it should be 1513
    Created: June 22, 2018 - Last update: June 22, 2018
    I have upgrade from 7.5.9 to 7.6.5. I can login to the backend just find and see my content, doctypes, etc. However, when I launch the site, I am getting an error. Here is line of code that is failing in my HeaderCarousel.cshtml macro var imageId = item.GetPropertyValue("backgroundImage"); Th…
  • ReadyConnect
    Starter Kits / Packages / Our
    Created: September 14, 2018 - Last update: December 14, 2023
    A unified identity and authentication solution that provides the broadest range of authentication options including passwordless login using mobile app and many popular Oauth/OpenID social providers with one-time minimal integration effort.  This package adds the ASP.NET Identity and Read…
  • Upgrade issue from 7.6.5 to 7.7.0
    Forum / Upgrade issue from 7.6.5 to 7.7.0
    Created: June 22, 2018 - Last update: June 26, 2018
    Hi: I am on Umbraco 7.6.5 ASP.NET and all is well. I have created a custom class for logging into the backend and the site via Active Directory. After the upgrade, I cleared the cache and did an IISRESET. But when I try and login to the backend I am getting this error message. Does anyone know ho…
  • Umbraco Cloud + Hangfire
    Forum / Umbraco Cloud + Hangfire
    Created: September 02, 2021 - Last update: December 03, 2022
    Hello all, I'm having trouble to get Umbraco Cloud solution running with Hangfire. I followed the guide: https://cultiv.nl/blog/using-hangfire-for-scheduled-tasks-in-umbraco/ But i'm getting an error when i try to run the solution: The OwinStartupAttribute.FriendlyName value 'UmbracoDefaultO…
  • Previewing new/unpublished content
    Forum / Previewing new/unpublished content
    Created: June 21, 2016 - Last update: July 04, 2018
    Is it possible to preview a node before it has been published? When I try to do so, the preview renders our 404 page. Makes sense (to me, at least) that an editor should be able to preview a new page prior to publishing? Site is on 7.4.2.I followed the comments provided in - https://github.com/umb…
  • Umbraco 7.3.0 Beta Indentity Server
    Forum / Umbraco 7.3.0 Beta Indentity Server
    Created: June 14, 2015 - Last update: March 02, 2016
    Hello all, I am curretly playing with umbraco 7.3.0 Beta, with the identity improvements. Login to a external provider like Google / Azure AD are working but i like to use Thinktecture IdentityServer V3 for the compleet login. So local login is disabled and login will be done with the identity serv…
  • Timeouts Since 7.8.0
    Forum / Timeouts Since 7.8.0
    Created: March 07, 2018 - Last update: April 10, 2018
    Has anyone else had timeout issues since upgrade to version 7.8.0 or later? Up through 7.7.9 things were working fine, but after upgrading to 7.8.0 and recently to 7.9.2 the backoffice seems to timeout after just a minute or so. We do use a custom "owin:Startup" authentication module to authenticate…
  • 7.2 Login with Facebook
    Forum / 7.2 Login with Facebook
    Created: June 16, 2015 - Last update: October 01, 2015
    Good Day Members.Login requires a password. How do I go about logging in without a password ? Thanks Hmm still not working, added the following to my google app ![enter image description here][1] [1]: /media/upload/3c6f2323-39b3-4d0c-9f11-c384f52c46f9/Screen%20Shot%202015-10-01%20at%2017.57.…
  • How to develop Active Directory Authentication on Merchello Front-End?
    Created: September 28, 2016 - Last update: October 06, 2016
    I have used OpenID Connect to sign-in users from a single Azure Active Directory tenant on Merchello (The sample code is available [here][1]). I have implemented some changes on [Merchello][2] as follow: 1. Project **Merchello.FastTrack.Ui** - Web.Config ![enter image description here][3] - A…
  • Avoiding conflicting edits
    Forum / Avoiding conflicting edits
    Created: October 01, 2015 - Last update: January 25, 2021
    Hi all, I'm working on a new package that will allow the content editors to see where other editors are in the content structure. You can view a small preview here http://screencast-o-matic.com/watch/co6Vjvf8Lc Currently it shows the status in the tree with a small overlay and also on the page w…
  • Single Sign on with Azure AD
    Forum / Single Sign on with Azure AD
    Created: January 12, 2016 - Last update: March 23, 2018
    Hi all, One of our client wants to implement SSO with Azure AD for member login. So they are asking few more details but I have no idea. I appreciate very much if someone can reply who know this implementation. Does Umbraco compatible with the ADFS 3.0 protocols such as being claims-aware and SAM…
  • Catch Login Event in v8
    Forum / Catch Login Event in v8
    Created: October 18, 2019 - Last update: July 16, 2020
    I'm trying to catch the backend login process with a composer/component... I don't want to change the OWIN Default, I want to perform some additional login checks, after successful login. Which services/events should I be attaching to?That depends on what type of project you are working on or what…
  • How to Login to Umbraco BackOffice using SSO OpenIDConnect
    Forum / How to Login to Umbraco BackOffice using SSO OpenIDConnect
    Created: January 08, 2020 - Last update: August 25, 2021
    I am working on a project to integrate our internal SSO with UmbracoCMS so that users can authenticate with SSO using their credentials and then be automatically signed into Umbraco BackOffice. I am using .Net 4.7.2 with Umbraco 8. I installed Package UmbracoCms.IdentityExtensions, Microsoft.Owin.Se…
  • How to Login to Umbraco BackOffice using SSO OpenIDConnect
    Forum / How to Login to Umbraco BackOffice using SSO OpenIDConnect
    Created: January 08, 2020 - Last update: January 08, 2020
    I am working on a project to integrate our internal SSO with UmbracoCMS so that users can authenticate with SSO using their credentials and then be automatically signed into Umbraco BackOffice. I am using .Net 4.7.2 with Umbraco 8. I installed Package UmbracoCms.IdentityExtensions, Microsoft.Owin.Se…
  • Custom UsersMembershipProvider in Umbraco v8
    Forum / Custom UsersMembershipProvider in Umbraco v8
    Created: February 28, 2021 - Last update: January 07, 2022
    Aloha, I have a custom UsersMembershipProvider that was built on v7 that I'm trying to adapt for v8. I've read through a lot of the documentation about how to accomplish this and I believe I have it configured correctly, however, I'm not seeing the application break on my override methods. To add…
  • UmbracoRestApi project - How do I authorise?
    Forum / UmbracoRestApi project - How do I authorise?
    Created: June 16, 2015 - Last update: June 18, 2015
    Hello all So from the CodeGarden15 Keynote Shannon & Per demoed a HAL specification side line project named UmbracoRestApi. I have downloaded the 7.3 beta along with the identity NuGet package & UmbracoRestApi package to play with all these lovely new things & start exploring. So I wanted to start…
  • Localhost umbraco failed to login
    Forum / Localhost umbraco failed to login
    Created: June 11, 2019 - Last update: June 12, 2019
    Hello, Recently i am unable to login to localhost:xxxx/umbraco. EDIT: I just noticed in the console, i am getting an error. ![enter image description here][2] [2]: /media/upload/3a95259f-b39e-492e-bd6a-483228d22a68/chrome_q1pEonuDmv.pngHi For hooking into Umbraco Startup class you need to i…
  • Getting Umbraco 8 source to build and run
    Forum / Getting Umbraco 8 source to build and run
    Created: November 29, 2016 - Last update: November 30, 2016
    Hey Core Team! So today I got into discussions with my dev team about the future of Umbraco and v8 in particular and we had a few assumptions that we wanted to validate so decided to try and get the V8 code to build and run. Our checkout was from https://github.com/umbraco/Umbraco-CMS/tree/dev-v8 …
  • Inject IUmbracoContextFactory into OwinStartup class
    Forum / Inject IUmbracoContextFactory into OwinStartup class
    Created: September 10, 2019 - Last update: September 10, 2019
    So I have a class that inherits from UmbracoDefaultOwinStartup its in an inherited site. Its making use of content service to get some config stuff. Is it possible to inject in IUmbracoContextFactory then I can use the cache to do the same thing or is this to early in the pipleine? IsmailIt's A…
  • How to set OwinContext.Environment for a custom middleware
    Forum / How to set OwinContext.Environment for a custom middleware
    Created: August 17, 2021 - Last update: August 17, 2021
    Im trying to implament saml ldp backoffice logins and im using "Sustainsys.Saml2.Owin" as a owin middleware this package require that you set the "saml2.idp" key: https://saml2.sustainsys.com/en/stable/owin-middleware.html I can however not figure out how to do this in Umbraco there is no way to ge…
  • Upgrade to v.7.5.4
    Forum / Upgrade to v.7.5.4
    Created: November 01, 2016 - Last update: November 02, 2016
    Hi, I have Umbraco 7.2.1 project and my plan is to upgrade to newest version currently 7.5.4. I download zip file and merge/overwrite existing files, following this https://our.umbraco.org/documentation/getting-started/setup/upgrading/general Problem is that for UmbracoMembershipProvider and UsersM…
  • Umbraco 7+ vs SignalR 2+
    Forum / Umbraco 7+ vs SignalR 2+
    Created: January 21, 2015 - Last update: January 21, 2015
    Hi there! Did anyone have a chance to make Umbraco 7.2 to work with SignalR 2.2. Just need an example or a hint how to make owin startup work with Umbraco while application starts. There are couple examples with SignalR 1.1 without owin but using that old one is the worst case scenario. Thanks in ad…
  • Authenticate using Active Directory Front End Site
    Forum / Authenticate using Active Directory Front End Site
    Created: October 07, 2016 - Last update: October 07, 2016
    Does anyone have an Umbraco 7.4.2 or 7.5 example showing how to use an ASP.NET login form to authenticate (ASPNET Identity or OWIN) to the front end of an Umbraco installation using Active Directory. Thanks
  • CodeFirst Templates
    Developer tools / Packages / Our
    Created: November 18, 2013 - Last update: December 14, 2023
    Adds any  "codeFirst" templates added or uploaded without using the Umbraco backend to be added to the Tree when "Reload Nodes" is performed. e.g. if added using Visual Studio. Works in MVC and Webforms modes. Takes into account nested Views and parent templates. Takes into account the 'um…
  • Is there a package of Gmail login for Umbraco CMS?
    Forum / Is there a package of Gmail login for Umbraco CMS?
    Created: August 01, 2016 - Last update: August 03, 2016
    Hi, I'm starting to develop a package that can help user to login to Umbraco CMS using their Gmail account. Is there a package for Umbraco CMS to do that?Hi OWIN for front end members - https://github.com/Shazwazza/UmbracoIdentity this will let you plug google (and any OAuth) provider in. Kev…
  • Can&#39;t use local umbraco login when Authenticated with Azure at the frontend.
    Forum / Can't use local umbraco login when Authenticated with Azure at the frontend.
    Created: March 02, 2021 - Last update: March 02, 2021
    So, I'm having a website with an Azure AD login on the frontend. It all seem to work, with an OWIN StartUp class and all. But, once I'm logged in on the frontend, I can't login in the backend. I get the normal login-form from umbraco, but my credentials are wrong. Sometimes I get an error message,…
  • Which version of umbraco supports Open ID Connect
    Forum / Which version of umbraco supports Open ID Connect
    Created: February 19, 2020 - Last update: May 27, 2020
    Hello: We are currently using Umbraco 7.11.3 and OWIN as our authentication model against Active Directory for Umbraco. We want to switch to using OKTA's Open ID Connect. Which version of Umbraco supports OKTA's Open ID Connect? Also looking for any C# code examples for getting started. In advan…
  • Sign in With Twitter in Umbraco
    Forum / Sign in With Twitter in Umbraco
    Created: October 03, 2015 - Last update: October 03, 2015
    Hi Guys, Does anybody has an idea how can I include a twitter button to sign in with twitter without using any umbraco package? I want firstly to get the email address from twitter account. Any ideas please? Thank you.Take a look at the UmbracoIdentity nuget package: [https://github.com/Shazwazz…
  • Preview mode not working with AD integration and SSL
    Forum / Preview mode not working with AD integration and SSL
    Created: June 05, 2019 - Last update: June 05, 2019
    Hi, we have a custom OWIN config to authenticate CMS users via Active Directory and "Windows Authentication" in the web.config for front-end users (this is for an Intranet). It works fine when Umbraco is not running over SSL but as soon as you enable SSL then the preview mode fails (white screen wi…
  • Umbraco 7.3 Azure Active Directory for Members
    Forum / Umbraco 7.3 Azure Active Directory for Members
    Created: September 05, 2015 - Last update: January 04, 2017
    I was hoping someone might be able to give me some pointers for configuring front-end members to work with azure active directory, in Umbraco 7.3 RC. I have successfully configured back-end users with the UmbracoCms.IdentityExtensions -Pre nuget package with very little effort. It works quite we…
  • Authentication methods in Umbraco for mobile apps
    Forum / Authentication methods in Umbraco for mobile apps
    Created: July 14, 2015 - Last update: July 14, 2015
    Hey, just wanna ask what are the official supported authentication methods in Umbraco. Based on - https://our.umbraco.org/forum/umbraco-7/developing-umbraco-7-packages/57862-Authentication-to-call-the-WebAPI-by-external-applicationand - http://www.saifikram.com/2014/06/token-based-authentication-…
  • Member List View - UmbracoIdentity
    Created: January 30, 2016 - Last update: January 30, 2016
    Hi, Has anyone tried using the UmbracoIdentity with the Member List View in Umbraco v7.3.4+ ? We are working on a project on MVC5 with OWIN and oAuth? Thanks Stevewithout actually trying it out properly - UmbracoIdentity basically links the social media account with a "native" Umbraco Member acc…
  • Root node not found behind reverse proxy
    Forum / Root node not found behind reverse proxy
    Created: October 19, 2018 - Last update: October 21, 2019
    I am developing a site and have it behind an Application request routing proxy which forwards the request to the umbraco project and sets the "X-Forwarded-Host" To then make umbraco use that "X-Forwarded-Host" I have the following code. And as you can see from the watch at the bottom, everything se…
  • Using Identity server and Azure Active Directory With Umbraco
    Forum / Using Identity server and Azure Active Directory With Umbraco
    Created: March 04, 2021 - Last update: March 04, 2021
    I have a project that uses Identity server 3 the front end so users can login. - This is working fine. Now I want to set up Azure Active Directory so users can log in to the back office. The problem I have is: It works when you login to the backoffice, I can log in and out 10 times no problem. B…
  • Rest Api Setup
    Forum / Rest Api Setup
    Created: September 03, 2015 - Last update: November 04, 2015
    Hello, I've installed the REST API nuget package to a 7.3 site but it is saying "Authorization has been denied for this request." I want to run it on a local iis site - what do I need to do to configure this? I'm a bit lost!Which is the setup if the calls are from outside domain ( see mobile app…
  • SignalR Chat
    Forum / SignalR Chat
    Created: August 07, 2015 - Last update: October 22, 2015
    Hi All. I'm using umbraco v7.0. I would build project chat with SignalR microsoft. The structure of project: App(web umbraco) -View include js files - MVC(build controller) - ChatHub file public class ChatHub : Hub { public void Send(string name,…
  • BackOfficeUserManager and Events
    Documentation / Reference / Security / BackOfficeUserManager and Notifications
    Created: - Last update: May 16, 2025
    BackOfficeUserManager and Events The BackOfficeUserManager is the ASPNET Identity UserManagerhttpsdocsmicrosoftcomenuspreviousversionsaspnetdn613290vvs108 implementation in Umbraco It exposes APIs for working with Umbraco Users via the ASPNET Identity including password handling Extending The…
  • Preview of unpublished page gives 404
    Forum / Preview of unpublished page gives 404
    Created: October 17, 2016 - Last update: March 17, 2023
    Hi, Our site is running umbraco 7.5.3. When we click preview on an unpublished page, we just get an 404 error. No errors in the log. On published pages it works fine. What can cause this? How do we fix it? I had this issue in v8.18, the fix was to add `app.UseUmbracoPreviewAuthentication(UmbracoC…
  • The cache file (Umbraco.config) doesn&#39;t update new data after call SaveAndPublishWithStatus
    Forum / The cache file (Umbraco.config) doesn't update new data after call SaveAndPublishWithStatus
    Created: November 27, 2017 - Last update: December 12, 2017
    Hello, I'm using latest version (7.7.6) and got this issue when using AutoNode plugin but it's not about AutoNode. I've the the source code of AutoNode and I think it's good, no error, no conflict... It's good when create new node via backoffice UI. So I decide to try to reproduce the issue my ow…
  • Creating custom backoffice login in Umbraco 7.3
    Forum / Creating custom backoffice login in Umbraco 7.3
    Created: October 26, 2015 - Last update: November 17, 2015
    We have a 3rd party login client for a couple of different Umbraco 7.3 websites where visitors need to login before being able to view website. Since tt supports different roles and admin users don't want to login twice, I'm looking for a way to integrate this with the Umbraco backoffice. So for ex…
  • Securing REST API with Refresh tokens
    Forum / Securing REST API with Refresh tokens
    Created: April 05, 2017 - Last update: April 05, 2017
    Hi, **Is it a good practice to use [Umbraco Identity][1] with [Refresh token][2] to secure an Umbraco REST API for front-end members?** Custom UmbracoIdentityStartup ConfigureMiddleware method might look like protected override void ConfigureMiddleware(IAppBuilder app) { …
  • Authenticating on the Umbraco backoffice with Active Directory credentials
    Documentation / Reference / Security / Authenticate with Active Directory
    Created: - Last update: May 16, 2025
    Authenticating on the Umbraco backoffice with Active Directory credentials Youll need to create a new file to override the existing OWIN configuration Create a directory in your root folder called AppStart if it doesnt already exist and then create a startup configuration file eg AppStartMyOwinSt…
  • ApplicationContext.current in Umbraco 8
    Forum / ApplicationContext.current in Umbraco 8
    Created: April 04, 2019 - Last update: February 14, 2024
    I'm working on adding Active Directory back office login (and eventually AD access for protected pages) to an Umbraco 8 website. I've been using https://our.umbraco.com/documentation/Reference/Security/authenticate-with-AD as a starting point. The ConfigureUserManagerForUmbracoBackOffice function us…
  • How to integrate Googles new Authentication?
    Forum / How to integrate Googles new Authentication?
    Created: January 28, 2019 - Last update: February 08, 2019
    I read a blog that was helpful to apply Google authentication to logon to Umbraco Backend. It worked great and I happily planned to deploy now in Februray. But some weeks ago I got en email from Google that the Google+ authentication is now deprecated! When looking into the Umbraco documentation I…
  • Umbraco Backoffice Login with Auth0
    Forum / Umbraco Backoffice Login with Auth0
    Created: May 08, 2018 - Last update: July 18, 2018
    I have been tying to setup an Auth0 login for Umbraco Back office, based around Identify Extensions https://github.com/umbraco/UmbracoIdentityExtensions I can get the examples to work with Google and Microsoft Active Directory, but when I try with Auth0 it doesn't work as expected. I have added "…
  • Microsoft.Owin Version 2.1.0.0 Error
    Forum / Microsoft.Owin Version 2.1.0.0 Error
    Created: September 22, 2017 - Last update: June 07, 2018
    Having just upgraded to Umbraco 7.7 I'm seeing an error with Microsoft.Owin when testing the builds on our servers... Could not load file or assembly 'Microsoft.Owin, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest defin…
  • Umbraco Identity: &quot;There are no external authentication services configured...&quot; error message
    Forum / Umbraco Identity: "There are no external authentication services configured..." error message
    Created: April 09, 2018 - Last update: April 11, 2018
    Im following this guide: https://github.com/Shazwazza/UmbracoIdentity (-3 step installation) When I was down and went to http://localhost:xxxxx/Account I did get a similar page as shown in the link, but where I expected the good stuff there was only an error message "There are no external authent…
  • OpenID-Connect error
    Forum / OpenID-Connect error
    Created: November 12, 2015 - Last update: April 25, 2017
    When trying to auto-link an account from an OpenID server to a built-in backend user Umbraco is throwing this error: WARN Umbraco.Web.Editors.BackOfficeController - Could not find external authentication provider registered: https://localhost:44333/identity I'm not sure how it is even getting…
  • Url Rewrite to another server for specific file (reverse proxy) does not work in Umbraco site
    Forum / Url Rewrite to another server for specific file (reverse proxy) does not work in Umbraco site
    Created: December 11, 2021 - Last update: August 24, 2022
    I need to serve a script file from a third-party server as if it is coming from my own server. Should be a simple reverse proxy thing with url rewrite. **Prerequisites:** IIS has Url Rewrite 2.0 and ARR 3.0 installed. **What works:** when I set up an empty localhost website in IIS and add a simple…
  • Performance tuning and runAllManagedModulesForAllRequests
    Forum / Performance tuning and runAllManagedModulesForAllRequests
    Created: June 22, 2016 - Last update: October 11, 2016
    While performance tuning an existing Umbraco 6.1.6 installation, i came across rather large values of TTFB (time to first byte). I started investigating and some of the wait was do to application logic, but ImageGen and static files was having the same problem as well with TTFB values of 500ms+ for…
  • Okta SSO Login Problems - Umbraco 8.18.5
    Forum / Okta SSO Login Problems - Umbraco 8.18.5
    Created: October 19, 2022 - Last update: October 19, 2022
    We implemented the Okta Umbraco integration via this tutorial: https://effect.nz/our-thoughts/november-2021/umbraco-and-okta-integration/ It does the login seemingly correctly, as can be seen by the event logging in the Okta application control panel - however when it redirects back to Umbraco we…
  • Dependency Injection in ApplicationEventHandler. Bug?
    Forum / Dependency Injection in ApplicationEventHandler. Bug?
    Created: February 27, 2017 - Last update: February 27, 2017
    Umbraco v7.5.8 I have bunch of problems with DI setup (shown below). 1) Neither OnApplicationInitialized, nor OnApplicationStarted (and other) events firing if constructor takes parameter(s). 2) Backoffice is broken. It's not possible to access a content node. Exception message is: An error occur…
  • Umbraco 9 with Identity Server 4
    Forum / Umbraco 9 with Identity Server 4
    Created: February 04, 2022 - Last update: May 04, 2022
    In Umbraco 8 we used UseOpenIdConnectAuthentication and Owin to set up authentication to Identity Server 4. When doing that, after a successful login, we could always get the current logged-in user through User.Identity from anywhere, whether it was a controller or in the cshtml. In Umbraco 9 we'r…
  • UmbracoIdentity - How do you programatically login a member?
    Forum / UmbracoIdentity - How do you programatically login a member?
    Created: June 09, 2021 - Last update: June 21, 2021
    I've looked through the package's code, and cannot seem to piece together what is needed to do this. If I have the IMember object, how does one programmatically log the member in so that all downstream code and pages carry the authenticated member?Try var loggedInUser = Request.GetOwinConte…
  • How to Implement External Authentication and 2FA in Umbraco v8 for Backoffice User
    Forum / How to Implement External Authentication and 2FA in Umbraco v8 for Backoffice User
    Created: May 04, 2020 - Last update: December 03, 2020
    Can anyone help to find out How to Implement External Authentication and 2FA in Umbraco v8 for Backoffice User? How to update the default Owin Startup for Umbraco v8Hi, I have another identical ticket here. https://our.umbraco.com/forum/using-umbraco-and-getting-started/104363-umbraco-8-2fa I ha…
  • Composers Stopped Working after upgrading from 8.0 to 8.4
    Forum / Composers Stopped Working after upgrading from 8.0 to 8.4
    Created: December 19, 2019 - Last update: December 19, 2019
    Hi Everybody, I'm trying to upgrade my Umbraco from 8.0 to 8.4. Previously I had OwinStartup class where I was getting instance from the Current Factory. [assembly: OwinStartup(nameof(UmbracoStandardOwinStartup), typeof(UmbracoStandardOwinStartup))] public class UmbracoStandardOwinStartup…
  • AzureCDNToolkit not using CDN URL but redirects to Azure blob storage URL
    Forum / AzureCDNToolkit not using CDN URL but redirects to Azure blob storage URL
    Created: May 28, 2019 - Last update: May 28, 2019
    I'm using Azure CDN Toolkit (v0.1.12-beta) with Umbraco 7.13.1. My images are getting resized and stored into cache Azure blob. However, the generated page never seems to redirect to the CDN URL, it always redirects to the root Azure storage URL (https://blah-blah.blob.core.windows.net/cache/e/9/1…
  • UseOpenIdConnectAuthentication for backoffice not working
    Forum / UseOpenIdConnectAuthentication for backoffice not working
    Created: November 02, 2018 - Last update: November 02, 2018
    Hi All, I needed to add openid support via identity server 4 (set up to use ASP.NET Identity) so users can log into the back office of umbraco. I followed this tut: https://yuriburger.net/2017/04/26/login-to-umbraco-backoffice-using-identityserver4/ I have everything the button showing on the l…
  • Umbraco Backoffice Sign in Call
    Forum / Umbraco Backoffice Sign in Call
    Created: February 21, 2018 - Last update: February 22, 2018
    Hi, I would like to make a call to the same function that is called on clicking the backoffice sign in button. I am unsure what that would be, if anyone could let me know what I need to call or point me in the right direction please. Thank you in advance.After examining the Umbraco source code, I…
  • Custom OAuth Provider Not Working
    Forum / Custom OAuth Provider Not Working
    Created: December 21, 2016 - Last update: December 22, 2016
    I am attempting to develop a proof-of-concept using my company's website as an OAuth authorization server to be consumed by Umbraco via OWIN/Katana. All of the OAuth plumbing appears to be working just fine but Umbraco isn't converting the external identity into a local identity. Instead of being lo…
  • Logging into Umbraco 7.3.0+ back-office using AD with ADFS
    Forum / Logging into Umbraco 7.3.0+ back-office using AD with ADFS
    Created: January 18, 2016 - Last update: August 10, 2016
    I need to authenticate back-office users in Umbraco 7.3.0 with our local test Active Directory (AD) server. Due to the introduction of Identity in Umbraco 7 it seems we need to make use of Active Directory Federation Services (ADFS) in order to authenticate against our AD. I can successfully authen…
  • Hangfire Always On IIS 7.5/8.0 and Preloading
    Forum / Hangfire Always On IIS 7.5/8.0 and Preloading
    Created: January 08, 2016 - Last update: June 29, 2016
    I'm using Hangfire and Umbraco and am using some of the umbraco services in the business layer that runs in Hangfire. These are being registered in an IOC container like this: container.Register((f)=ContextHelpers.EnsureUmbracoContext().Application.Services.MemberService, new PerScopeLifetime…
  • Working with members and oAuth (umbraco v7.1)
    Forum / Working with members and oAuth (umbraco v7.1)
    Created: February 28, 2015 - Last update: March 12, 2015
    Hi everyone, I'm developing a registration/login process with members and I would like to integrate it with oAuth services like facebook. I got several troubles with the application design. The process is something like that: Register (umbraco): standard form Register (facebook) standard form…
  • Using Umbraco as backend for mobile app. Suggestions?
    Forum / Using Umbraco as backend for mobile app. Suggestions?
    Created: May 12, 2014 - Last update: June 02, 2014
    Hi, I wish to use U7 as backend control panel and push information and content to a mobile app + website manager. I know how build a json "template" in Umbraco, but I've some questions: 1) How to secure json request? My idea is to use Umbraco membership and send username and password with each reque…

Code Of Conduct - Privacy Policy

 

Our.umbraco.com is the community mothership for Umbraco, the open source asp.net cms. With a friendly forum for all your questions, a comprehensive documentation and a ton of packages from the community.