How does one achieve authorization for an api using Azure B2C?
Authentication
The setup in Azure AD b2c: web: login api: GetStuff
web->sign-in>azure userflow:signinpolicy -(success)-> token = AccessTokenForUser("scope1","scope2"..) call [Authorize(Policy = "scope1")]api.GetStuff with requestheader=token.
Works great but this is only Authentication and how does one implement Authorization?
The a basic supported scenario should be:
If I belong to an item I should be able to edit it, i.e. write otherwise I should only have read.