If you want to build identity-inbound-auth-oauth from the source code:
mvn clean install
from the identity-inbound-auth-oauth
directory.There are JDKs that target different types of architectures available to download for macOS. The test class
NTLMAuthenticationGrantHandlerTest
(in components/org.wso2.carbon.identity.oauth/src/test/java/org/wso2/carbon/identity/oauth2/token/handlers/grant/iwa/ntlm/NTLMAuthenticationGrantHandlerTest.java) will throw an UnsatisfiedLinkError if the installed JDK in your machine targets the aarch64 (ARM) architecture. Therefore, if you want to run the test classNTLMAuthenticationGrantHandlerTest
please make sure that a JDK that targets x64 architecture is installed in your machine.