@JL , Wildcard redirect uris are something that are not supported by AAD or AAD B2C. One of the reasons behind this restriction is the security threat called Open Redirector
. You can read more about this threat here:
https://www.rfc-editor.org/rfc/rfc6819#section-4.1.5
https://www.rfc-editor.org/rfc/rfc6819#section-4.2.4
You can find the mitigation steps mentioned here: https://www.rfc-editor.org/rfc/rfc6819#section-5.2.3.5
Also, you can check the following url to understand the various restrictions that are imposed on the redirect uris in AAD and AAD B2C: https://learn.microsoft.com/en-us/azure/active-directory/develop/reply-url#maximum-number-of-redirect-uris
You can certainly add all the subdomains as a separate Redirect URI, but then that too has a limit of 256 redirect uris as listed here: https://learn.microsoft.com/en-us/azure/active-directory/develop/reply-url#maximum-number-of-redirect-uris