If you want to build identity-inbound-auth-oauth from the source code:
- Install Java 11 (or Java 17)
- Install Apache Maven 3.x.x (https://maven.apache.org/download.cgi#)
- Get a clone or download the source from this repository (https://github.com/wso2-extensions/identity-inbound-auth-oauth)
- Run the Maven command
mvn clean install
from theidentity-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.