I've got following setup:
- IdentityServer4 using asp.net core identity
- Accounts app - where user can edit his account data and users can register
- Portal - where users can login and select an organization to which they're connected (same as in azure devops)
- API that is used by portal
Does anyone have experience setting up something similar ? My question would be how to authorize the calls at API level to make sure he is only editing entities that belong to his organization.
Thanks !