OAuth or SAML for authentication of my AppGyver Application

I am developing a new application which will be used by our internal employees and external contractors. These users today are authenticated on two different Active Directories. We want to use this AD authentication to permit them into the AppGyver App running on Tablet. Would you please suggest us how to go about this in AppGyver. We found some information on OAuth and SAML but not very clear for us to proceed