Ragtox
Local user accounts with Entra External ID in Blazor WASM BFF application
Dear colleagues,
I am currently researching our options to move away from local identity user accounts using Microsoft.Identity and EF Core.
Currently, we have landed on Entra External ID as one of our options, but this question "shouldn't" really be vendor dependant.
We would like to still store a local "user", this local user will be used for permissions, owned data, management by admins, etc..
I have two question:
- How/when should we create this local user account?
- Are the simple tables
User
and UserClaims
enough, or should we use Microsoft.Identity but only allow external logins?
Currently I have considered the following options:
- OnTokenValidated
event from the OpenIdConnectEvents
class
- Some middleware that checks every authenticated request if a local user exists for the current principal
In my opinion, it would be cleaner to instead override the default /signin-oidc
route and handle it at the end of the sign-up process here, but it seems that you're unable to configure this route without completely copying the source code.
If anybody would have any experience implementing this and would like to share their toughts and/or interesting reading material, would be great.
Thanks!4 replies
Create low-code / flow builder like application in .NET
Hey everyone,
As the title says, I've been tasked to come up with a POC where we would be able to easily create process flows, think about applications like Node-Red.
Some functionality that should be possible is making API calls, making SignalR calls, interacting with a database and the usual.
Eventually we'll also look into creating a UI for composing these flows, but the first step is figuring out the underlying model.
Now while I get started on this, I wanted to ask if anyone here already had experience with building this kind of system and if they would have some pointers, resources or general tips for me.
I have looked around already for some low-code building guidelines etc. but so far haven't really found anything awfully helpful.
Thanks in advance!
5 replies