Is there a simple way to require AzureAD/Entra authentication without creating an Orchard User account? #14783
Unanswered
ericrrichards
asked this question in
Q&A
Replies: 2 comments 2 replies
-
No, not really. What you'd need to do, apart from differenciating, when to create a real user vs a virtual one, is to override the registration and authentication controllers to handle your use-cases. |
Beta Was this translation helpful? Give feedback.
2 replies
-
You don't need authorized user to view published content if the content permission set to anonymous. Authorized user is only required for Admin access. You can implement custom authorization policy for front end without needing to create orchard user |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The situation I have is this:
I could probably do this client-side with some JS and the ADAL library, but that's not very secure.
I'd like to have this tied into the normal server-side Orchard AzureAD authentication, but as I understand it there is not a good way to authenticate a user without having an actual Orchard user in the database backing that up.
More or less what I want is to login the user if they have a real account, and if they don't, have a "virtual" user with the Authenticated role and a minimal subset of the identity claims returned from their AzureAD profile.
Is there an out-of-the-box way to accomplish this?
Beta Was this translation helpful? Give feedback.
All reactions