Entra Auth for Members
# help-with-umbraco
a
I've just been attempting to use the Entra auth instructions from here: https://docs.umbraco.com/umbraco-cms/v/13.latest-lts/tutorials/add-microsoft-entra-id-authentication I can see that the docs need a little change as the code is slightly out of whack in step 2 but it works if you modify it (I'll add a PR later) I'm having an issue with the EntraIDB2CMembersExternalLoginProviderOptions not calling the configure method and therefore not creating/loggin in my member. Anyone else had this issue or am I missing something really stupid?
s
Just an open door, but did you wrap the login button inside a Umbraco external login form? (Snippet is available in partial macro or something)
a
I used a controller to return a Challenge for the auth scheme. (I've now changed to using OIDC) and abandoned AutoLinking for the moment:
return Challenge(new AuthenticationProperties { RedirectUri = "/home" },    OpenIdConnectDefaults.AuthenticationScheme);
36 Views