Copy and paste from the other authorization add ons in the appstore, like SSO, OAuth, Google Authorization, or even the deprecated Kerberos.
This module helped me a lot in implementing the Auth0 integration for our app: https://marketplace.mendix.com/link/component/110989. Concepts are fairly similar it seems.