Skip to main content

Tutorial 4: Sending emails and text messages

At some point, as part of your user authentication and registration process, you will want to send emails and/or text messages. Whether it is for One-Time Passwords, magic login links, or verification links. AuthGuard can easily be configured to send emails and text messages to users directly. Alternatively, you can also use a message bus bridge to handle sending them outside of AuthGuard but that is outside the scope of this tutorial.

In this tutorial, we will configure an AuthGuard distribution to make it send emails to users using an SMTP server. At the end we will also show an example of using a REST API instead of SMTP, as well as using SMS.

Tutorial 3: Social login with OpenID Connect

In a previous tutorial we showed how AuthGuard can be used alongside an LDAP server for identity federation. In this example, we will achieve something similar but with an OpenID Connect instead.

Also applies to any OAuth 2.0 provider

In this tutorial we will focus on OpenID Connect providers but the same steps still apply to a regular OAuth 2.0 providers. The only difference will be the inclusion of an ID token.

Tutorial 2: Federation with LDAP

If you are in an enterprise environment, chances are that you already have some sort of an LDAP server, or are planning to use one. Since the LDAP server will hold the identities of the internal users, you can make AuthGuard use it instead of requiring users to sign up.