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
I'm doing some experiments with external login providers. The following docs have been really helpful:
The auto-linking feature seems like a great addition because you don't need to create users/members first in the backoffice.
I have a working example with an external login provider and auto-linking. It works, but when a user/member does an external login it will still create a user/member in the backoffice. Since my external login provider is the source of truth for all users/members I don't need them in the backoffice. Is there something like virtual user/member that only exists while being logged in? Something similar to this feature in Sitecore: https://doc.sitecore.com/xp/en/developers/92/sitecore-experience-manager/configure-federated-authentication.html#configure-virtual-and-persistent-users
My external login provider has thousands of users/members and I don't need all of them in my Umbraco backoffice. Is that possible?
I've checked the source code of Umbraco and it seems that virtual users/members are not supported at the moment.
That's why I created a feature request for it: https://github.com/umbraco/Umbraco-CMS/discussions/12741
Hi, could this be something on the OnExternalLogin method? It's not a virtual user, but i guess you have to hook up on a database anyway to do your check.
public void Configure(BackOfficeExternalLoginProviderOptions options)
options.AutoLinkOptions = new ExternalSignInAutoLinkOptions(
autoLinkExternalAccount: false )
OnExternalLogin = (user, loginInfo) =>
// Do your check on your DB
return true; //returns a boolean if sign in should continue
Unfortunately that won't work because the OnExternalLogin event is only triggered after the OnAutoLinking event. So it will only trigger if a user/member already exists in Umbraco.
It's still not possible to use virtual users/members.
However I did release a package that shows how external login providers can be used in Umbraco: https://www.jeroenbreuer.nl/blog/released-umbraco-openid-connect-example-package/
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted