Open ID Connect Help
c
Umb V13.3.2 Trying to implement Open ID Connect from the given example in the docs (https://github.com/jbreuer/Umbraco-OpenIdConnect-Example) but it doesn't use the out of the box Minimal Hosting Model so I can't work out what needs to be done to convert it. My solution runs but doesn't find any login providers (using the credentials in the example). I think that because I'm not using the startup.cs the AddMemberExternalLogins and ConfigureOptions services aren't being added at start up. I think I need a composer but need help rejigging it. Once I know how it's done, could PR the change back to the example so it works with the new MHM.
a
What does your startup file look like at the moment?
c
I don't have one. It doesn't exist in Umbraco V13. The one in the example site is here: https://github.com/jbreuer/Umbraco-OpenIdConnect-Example/blob/main/Umbraco-OpenIdConnect-Example.Web/Startup.cs
I guess what I'm really needing is advice on how to move the ".AddOpenIdConnectAuthentication()" from the startup.cs to a composer. I tried and failed to fiddle with https://github.com/jbreuer/Umbraco-OpenIdConnect-Example/blob/main/Umbraco-OpenIdConnect-Example.Core/Extensions/UmbracoBuilderExtensions.cs To make it into a composer but failed 😦