I was hoping someone might be able to provide a bit of help getting Azure B2C working to authenticate external users into the backoffice.
I have implemented the suggested code here, however after redirecting out to B2C it just seems to return to /umbraco-signin-oidc and display a ERR_CONNECTION_REFUSED error in my browser.
I've followed that and managed to get Umbraco redirecting out to B2C and authenticating now. It seems to link work perfectly when I link things via the user profile in their account.
However when I try and use auto linking I get the following error:
I was wondering if you have any suggestions implementing Azure B2C for members on an external site, not backoffice. Appreciate any help or pointers you can share.
Azure B2C for Backoffice Auth
Hey,
I was hoping someone might be able to provide a bit of help getting Azure B2C working to authenticate external users into the backoffice.
I have implemented the suggested code here, however after redirecting out to B2C it just seems to return to /umbraco-signin-oidc and display a
ERR_CONNECTION_REFUSED
error in my browser.My auth code looks like below
If anyone has any advice or working examples in the latest versions of v9 that would be amazing!
Thanks
Maybe you are missing
Also you could follow this here : https://www.scottbrady91.com/umbraco/backoffice-sso-openid-connect
Hey Kevin
Thanks for that!
I've followed that and managed to get Umbraco redirecting out to B2C and authenticating now. It seems to link work perfectly when I link things via the user profile in their account.
However when I try and use auto linking I get the following error:
The requested provider (Umbraco.oidc) has not provided the email claim http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress, the account cannot be linked.
My autolinking code is copy pasted from the docs here
Yes I get this same error too. It seems Umbraco.oidc scheme does not get the email claim for some reason. I am stuck on this myself. This is one workaround I have found which might be helpful for you https://our.umbraco.com/forum/umbraco-9/107617-onautolinking-not-working#comment-335140
Awesome Kevin!
Thanks for the help. I can work around with this stuff.
Appreciate it
Hi Nathanuel,
I was wondering if you have any suggestions implementing Azure B2C for members on an external site, not backoffice. Appreciate any help or pointers you can share.
Thanks John
I don't sorry, I was using B2C to authenticate the back office only
is working on a reply...