OAuth2 providers
Configure external account linking, sign-in, and registration for your Minexon site.
Providers let players link a gaming or social account to Minexon, sign in with a linked account, or create a new Minexon account. Players enter their provider password on the provider's website. Services such as Google and Discord use OAuth. Steam uses OpenID 2.0 and Cfx.re uses a Discourse User API Key.
Configure a provider in the dashboard
- Open Settings → Providers and select Open settings on its row. The list shows provider, sign-in, and registration status separately. The Discord row opens Discord Bot settings.
- Use the applicable guide below to gather the required credentials. If the dashboard shows an OAuth callback URL, open the live site over HTTPS, copy the full URL, and add it verbatim to the provider's developer dashboard. Authorization must use the same hostname and path.
- Enable the provider, choose the flows you want, and select Save changes. To keep a saved secret, leave its field blank.

Read access uses settings.providers.view. Changing provider settings requires settings.providers.edit and settings.manage. The Discord settings screen uses settings.discord_bot. Providers in the dashboard
Choose the flows independently
| Flow | What a player can do |
|---|---|
| Link an account | Add an enabled, configured provider to the account they are signed in to. The Linked accounts module must be on. Provider sign-in and registration have separate switches. |
| Sign in | Open an existing Minexon account using an already linked provider identity. A matching email address does not link accounts automatically. |
| Create an account | Authorize the provider and then complete registration in Minexon. Sitewide account registration must be enabled. |
On return from the provider, Minexon fills in available, usable profile values. If the username does not meet your site's rules, the player chooses a valid one. They supply the missing email and any required custom fields. Minexon also asks for a site password when the provider will be unavailable for future sign-in. Email verification and the second sign-in step follow the site's and account's settings. Player sign-in and registration
Require a specific provider
Providers other than Discord have separate Redirect all sign-in to this provider and Redirect all registration to this provider switches. Selecting one also enables the corresponding flow. Each flow can require one provider. Saving a new required provider replaces the previous choice for that flow. For example, new registrations can require Google while sign-in keeps its usual options.
Before requiring a provider for sign-in, verify that an existing player can link it and sign in again. A player cannot remove the link to the currently required sign-in provider. Linked accounts
Credentials by provider
| Provider | What to enter in Minexon |
|---|---|
| Client ID and Client Secret of the Web OAuth client. | |
| Discord | Discord Bot settings and OAuth2 credentials from the same application. |
| Steam | A Steam Web API key. |
| Epic Games | Client ID, Client Secret, and Epic Deployment ID. |
| Microsoft | Client ID, Client Secret, and a tenant matching the account audience. |
| Cfx.re | Minexon generates the technical values. Cfx Forum must accept the live callback URL. |
| Xbox | Client ID and Client Secret of the Entra application for personal Microsoft accounts with Xbox access. |
| Roblox | Client ID and Client Secret of the Roblox OAuth application. |
Verify each flow
- On a signed-in test account, link the provider from Linked accounts and check that the card shows Linked after the redirect.
- Sign out, then use the same external account on the Sign in screen. The existing player profile should open.
- If registration is enabled, select Create an account with a different external account that is not linked. Check the completion form, email verification if configured, and the resulting new profile.
| Symptom | What to check |
|---|---|
| The provider button is missing | Check whether the provider and flow are enabled, the required credentials are present, and the flow is restricted to another provider. Check the host's PHP HTTPS streams and allow_url_fopen setting as well. |
| The provider rejects the callback URL | Compare the HTTPS callback in Minexon with the provider's registered URL. A different www hostname, port, installation directory, or trailing slash can change the URL. |
| The site reports that the request expired | Start again on the original screen in the same browser. A provider setting or address change during authorization requires a new attempt. |
| No Minexon account is linked to the provider | Sign in to the existing account with an available method, then link the provider from Linked accounts. |