Authentication handled by external providers. You should set up OAuth2 for at least one of them to allow users to make comments. It is not mandatory to have all of them, but one should be correctly configured.
- Open the list of apps on the Facebook Developers Platform
- Create a new app with this manual or use an existing app
- Open your app and choose "Facebook Login" and then "Web"
- Set "Site URL" to your domain, e.g.,
- Under "Facebook login"/"Settings" fill "Valid OAuth redirect URIs" with your callback URL constructed as domain plus
- Write down the client ID and secret as
- Create a new "OAuth App": https://github.com/settings/developers
- Fill "Application Name" and "Homepage URL" for your site
- Under "Authorization callback URL" enter the correct URL constructed as domain +
- Take note of the Client ID (as
AUTH_GITHUB_CID) and Client Secret (
Create a new project: https://console.cloud.google.com/projectcreate
Choose the new project from the top right project dropdown (only if another project is selected)
In the project Dashboard center pane, choose "APIs & Services"
In the left Nav pane, choose "Credentials"
In the center pane, choose the "OAuth consent screen" tab. Fill in "Product name shown to users" and hit save
In the center pane, choose the "Credentials" tab
- Open the "Create credentials" drop-down
- Choose "OAuth client ID"
- Choose "Web application"
- Application name is freeform; choose something appropriate
- Authorized origins should be your domain, e.g.,
- Authorized redirect URIs is the location of OAuth2/callback constructed as domain +
- Choose "Create"
Take note of the Client ID (
AUTH_GOOGLE_CID) and Client Secret (
instructions for Google OAuth2 setup borrowed from oauth2_proxy
- Register a new application using the Azure portal
- Under "Authentication/Platform configurations/Web" enter the correct URL constructed as domain +
- In "Overview" take note of the Application (client) ID (
- Choose the new project from the top right project dropdown (only if another project is selected)
- Select "Certificates & secrets" and click on "+ New Client Secret" (
Important: Twitter developer accounts created after November 15th 2021 need "Elevated access" to use the Standard v1.1 API routes required to work properly. Apply for this access from within the Twitter developer portal.
- Create a new Twitter application https://developer.twitter.com/en/apps
- Fill App name, Description and URL of your site
- In the field Callback URLs enter the correct URL of your callback handler, e.g. domain +
- Under Key and tokens take note of the Consumer API Key and Consumer API Secret key. Those will be used as
- Create a new "OAuth App": https://oauth.yandex.com/client/new
- Fill "App name" for your site
- Under Platforms select "Web services" and enter "Callback URI #1" constructed as domain +
- Select Permissions. You need the following permissions only from the "Yandex.Passport API" section:
- Access to the user avatar
- Access to username, first name and surname, gender
- Fill out the rest of the fields if needed
- Take note of the ID (
AUTH_YANDEX_CID) and Password (
- Create a new Patreon client https://www.patreon.com/portal/registration/register-clients
- Fill App Name, Description
- In the field Redirect URIs enter the correct URI constructed as domain +
- Expand client details and note the Client ID and Client Secret. Those will be used as
- Contact @BotFather and follow his instructions to create your bot (call it, for example, "My site auth bot")
- Write down the resulting token as
TELEGRAM_TOKENinto remark42 config, and also set
trueto enable telegram auth for your users.
Optionally, anonymous access can be turned on. In this case, an extra
anonymous provider will allow logins without any social login with any name satisfying two conditions:
- the name should be at least three characters long
- the name has to start from the letter and contains letters, numbers, underscores and spaces only