Skip to content

External login

SeaCat Auth supports login via third party authentication providers. This allows users to use their Google or Github account to log into SeaCat Auth.

SeaCat Auth currently supports these login providers:

  • Google
  • Office 365
  • Github
  • MojeID


Once configured, external login options are available on the login screen as an alternative to the standard SeaCat Auth login.

Login screen with external login

Any user can enable or disable their external login options on their My account screen.

My account screen with external login

Setting up external login providers

Setting up external login requires registering and configuring your SeaCat Auth site at the respective provider and configuring the SeaCat Auth service itself.

Register your SeaCat Auth application

Once you select which login provider you want to set up, proceed to their website to register your SeaCat Auth application. You will receive Client ID and Client secret which you will use in SeaCat Auth configuration.

Provide redirect URIs

Most OAuth2 providers will require you to specify a list of exact authorized redirect URIs. If that is the case, you need to provide two URIs in the following format:


For example, if your public SeaCat Auth API is running at and you want to configure login with google, add these addresses to the list of authorized redirect URIs in Google API Credentials.

Other providers (e.g. Github) do not require a list of exact URIs but rather a single path that all of your redirect URIs will start with. In such cases just provide the base URL of your SeaCat Auth public API, for example

Configure SeaCat Auth

Finally, you can add a section defining your external login provider in the SeaCat Auth config file. You will need at least the Client ID and the Client secret that you received at your login provider.

The config section name is always in the format [seacatauth:<LOGIN_PROVIDER_ID>]. See below for config examples of the individual login providers.

Supported providers

SeaCat Auth currently supports the following external login providers:

  • Google
  • Office 365
  • Github
  • Moje ID


Provider ID: google

Register your SeaCat Auth app in Google API Credentials.


Office 365

Provider ID: office365

Register your SeaCat Auth app in Azure Active Directory.

In addition to client ID and client secret, Office 365 login also requires you to fill in your tenant ID.



Provider ID: github

Register your SeaCat Auth app in your Github developer settings.



Provider ID: mojeid

Sign up for a MojeID provider account. Follow their documentation to obtain client ID and secret.