Login providers
/dashboard/settings/login-providers
Login providers let users sign up and log in with an existing account from a third-party service, such as Google, GitHub or Discord. Here you turn each provider on or off and enter the application credentials it needs.
Lite/Pro feature
Login providers are available in Chevereto Lite and Pro. In other editions this page is read-only and every provider shows as disabled. If CHEVERETO_ENABLE_LOGIN_PROVIDERS is set to 0, no provider is offered to users, whatever is set here.
How login providers work
Every enabled provider adds a Sign in with button to the login and signup pages. The button sends the user to /connect/<handle>/, which redirects them to the provider to authorize your website.
When the provider sends the user back:
| Case | Result |
|---|---|
| The provider account is linked to a user | That user is logged in |
| A logged-in user connects a new provider | The provider account is linked to that user, who is sent to Settings > Connections |
| The provider account isn't linked to any user | A new account is created from the provider profile, only if Enable signups is on |
| The user is banned | Access is denied |
New accounts get a username based on the display name at the provider, with a number added if it is taken. If Require email for social signup is enabled, the new user must add an email address before using the account.
Users with two-factor authentication still have to enter their code after logging in with a provider.
Provider settings
Each provider has the same set of fields. The fields below the toggle are shown only when the provider is enabled.
Enabled
Toggles the provider.
| Value | Effect |
|---|---|
| Enabled | Show the provider button on the login and signup pages |
| Disabled | Hide the provider button. Its /connect URL returns a not found error |
Default: Disabled.
Connect URL
The callback (redirect) URL for the provider, for example https://yourwebsite.com/connect/google/. It is read-only: use the Copy button and paste it where the provider asks for an authorized redirect or callback URL when you create the application.
Application id
The application (client) id given by the provider.
| Type | Example |
|---|---|
| String | 1234567890-abc.apps.googleusercontent.com |
Application secret
The application (client) secret given by the provider.
| Type |
|---|
| String |
TIP
If CHEVERETO_ENCRYPTION_KEY is set, the application id and secret are stored encrypted in the database.
Enter both fields before enabling a provider: Chevereto doesn't check the credentials when you save, so a wrong id or secret only shows up as an error when a user tries to sign in. Test each provider after enabling it.
Available providers
See Login providers for how to register an application with a provider.
| Provider | Connect URL path |
|---|---|
| Amazon | /connect/amazon/ |
| BitBucket | /connect/bitbucket/ |
| Discord | /connect/discord/ |
| Dribbble | /connect/dribbble/ |
| Dropbox | /connect/dropbox/ |
/connect/facebook/ | |
| GitHub | /connect/github/ |
| GitLab | /connect/gitlab/ |
/connect/google/ | |
/connect/instagram/ | |
/connect/linkedin/ | |
| Mailru | /connect/mailru/ |
| Medium | /connect/medium/ |
| Odnoklassniki | /connect/odnoklassniki/ |
| ORCID | /connect/orcid/ |
/connect/qq/ | |
/connect/reddit/ | |
| Spotify | /connect/spotify/ |
| Steam | /connect/steam/ |
| Strava | /connect/strava/ |
| Telegram | /connect/telegram/ |
| Tumblr | /connect/tumblr/ |
| Twitch | /connect/twitchtv/ |
| VK | /connect/vkontakte/ |
/connect/wechat/ | |
| WordPress | /connect/wordpress/ |
| X (Twitter) | /connect/twitter/ |
| Yahoo | /connect/yahoo/ |
| Yandex | /connect/yandex/ |
