OpenID Azure AD login

I am doing the OpenId Authentication using Azure AD as stated in the docs but i get redirected to the login page after entering my microsoft credentials. Google works fine though. From the code they using Pac4j and Shiro. Any idea how I can edit those code since the open-platform is downloaded wont run because the copyWebapp is not a gradlew task

you running open platform or web app??

I am running the open platform