For OAuth and AEM - see these KBs: https://docs.adobe.com/ddc/en/gems/oauth-server-functionality-in-aem---embrace-federation-and-unlea.htmlhttps://aemcorner.com/adobe-granite-oauth-authentication-handler/https://github.com/Adobe-Marketing-Cloud/aem-communities-oauth-sample