Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi! I'm trying to implement auto-linking to Umbraco 10.1.0 following https://our.umbraco.com/Documentation/Reference/Security/Auto-linking/
It works fine with already linked account OnExternalLogin but OnAutoLinking doesn't seem to work I also tried Autolinking with GoogleAPI/OpenIDConnect but it pop-up the same bug in console : Value cannot be null. (Parameter 'culture')
I hope someone can help me . Thanks
My sample setting: Umbraco: https://github.com/ChuDatCN/Auto-Linking/blob/master/OpenIdConnectBackOfficeExternalLoginProviderOptions.cs
So it turned out this Culture bug is AutolinkUser is disable after created and can't not be found.
Culture
autoLinkUser = BackOfficeIdentityUser.CreateNew(_globalSettings, email, email, autoLinkOptions.GetUserAutoLinkCulture(_globalSettings), name);
OnAutoLinking function, i setted autoLinkUser.IsApproved = true and mapped the Umbraco's ClaimType with IdentityServer jsonKey.
autoLinkUser.IsApproved = true
options.ClaimActions.MapJsonKey(claimType: ClaimTypes.Email, jsonKey: "email"); options.ClaimActions.MapJsonKey(claimType: ClaimTypes.Role, jsonKey: "role");
More about issue:
https://github.com/umbraco/Umbraco-CMS/issues/12670 https://github.com/umbraco/Umbraco-CMS/pull/12794 https://github.com/umbraco/Umbraco-CMS/issues/12799
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Auto-linking with OpenIdConnect. Value cannot be null. (Parameter 'culture')
Hi! I'm trying to implement auto-linking to Umbraco 10.1.0 following https://our.umbraco.com/Documentation/Reference/Security/Auto-linking/
It works fine with already linked account OnExternalLogin but OnAutoLinking doesn't seem to work I also tried Autolinking with GoogleAPI/OpenIDConnect but it pop-up the same bug in console : Value cannot be null. (Parameter 'culture')
I hope someone can help me . Thanks
My sample setting: Umbraco: https://github.com/ChuDatCN/Auto-Linking/blob/master/OpenIdConnectBackOfficeExternalLoginProviderOptions.cs
So it turned out this
Culture
bug is AutolinkUser is disable after created and can't not be found.OnAutoLinking function, i setted
autoLinkUser.IsApproved = true
and mapped the Umbraco's ClaimType with IdentityServer jsonKey.More about issue:
is working on a reply...