mrochon / b2csamples

MIT License
132 stars 41 forks source link

Allow a tenant to automatically accept other users from same AAD tenant. #15

Closed mrochon closed 3 years ago

mrochon commented 3 years ago

Provide an optional setting to specify that members of a specific AAD tenant can automatically join a specific B2C tenant (group), with no need for invitation.

mrochon commented 3 years ago

Implemented as an option on tenant create (if the creating user comes from an AAD directory). Will allow other users from same tenant to signin without being invited. To sign in these users will need to use https://b2cmultitenantapp.azurewebsites.net?domain=commonaad&tenant=<name of tenant created in B2C, e.g. TENANTX. These users will NOT show up in members list page. Their access to the app can still be controlled from the Enterprise tab in their home AAD tenant.