Replacing Umbraco backend login with openidconnect
I'm trying to replace the backend login to Umbraco with an openidconnect server I am running. I have all of the code to handle auth successfully working within the Umbraco project, but I am struggling to make it replace the backend authentication. I have installed UmbracoIdentityExtensions, replaced the standard owin startup in the web.config with the umbracostandardowinstartup and changed the code in it to look like this;
Unfortunately it is here that I am stuck. I do not know how to change the back-end login from using the Umbraco authentication to using my custom provider.
Any help or pointers would be greatly appreciated!
My experience with getting this exact scenario working has been mixed. I don't love the Umbraco implementation of linking External account to internal accounts, but perhaps it will be ok in your scenario...
Having looked at your code above, I believe that you are missing a few things. First, I found that I didn't need these two lines at all:
This might explain a lot about my issue.. under my IDServer options there is no "ForUmbracoBackOffice". Going to dig into this, but if you have an idea I'd appreciate the assist.
Replacing Umbraco backend login with openidconnect
I'm trying to replace the backend login to Umbraco with an openidconnect server I am running. I have all of the code to handle auth successfully working within the Umbraco project, but I am struggling to make it replace the backend authentication. I have installed UmbracoIdentityExtensions, replaced the standard owin startup in the web.config with the umbracostandardowinstartup and changed the code in it to look like this;
Unfortunately it is here that I am stuck. I do not know how to change the back-end login from using the Umbraco authentication to using my custom provider.
Any help or pointers would be greatly appreciated!
My experience with getting this exact scenario working has been mixed. I don't love the Umbraco implementation of linking External account to internal accounts, but perhaps it will be ok in your scenario...
Having looked at your code above, I believe that you are missing a few things. First, I found that I didn't need these two lines at all:
Second, you seem to be missing these:
Last, I believe that you need to set the SignInAsAuthenticationType to be Constants.Security.BackOfficeExternalAuthenticationType
Hope this helps!
This might explain a lot about my issue.. under my IDServer options there is no "ForUmbracoBackOffice". Going to dig into this, but if you have an idea I'd appreciate the assist.
Would you believe it.. The issue was the missing icon and caption. I now have other issues, but the auth is working! Thanks for the help Gregg!
is working on a reply...