meteor/meteor · error · ServiceConfiguration.ConfigError

Service not configured

Error message

Service not configured

What it means

Error "Service not configured" thrown in meteor/meteor.

Source

Thrown at packages/github-oauth/github_server.js:35

      company: identity.company,
      blog: identity.blog,
      location: identity.location,
      bio: identity.bio,
      emails
    },
    options: { profile: { name: identity.name } }
  };
});

// http://developer.github.com/v3/#user-agent-required
let userAgent = 'Meteor';
if (Meteor.release) userAgent += `/${Meteor.release}`;

const getAccessToken = async (query) => {
  const config = await ServiceConfiguration.configurations.findOneAsync({
    service: 'github'
  });
  if (!config) throw new ServiceConfiguration.ConfigError();

  let response;
  try {
    const content = new URLSearchParams({
      client_id: config.clientId,
      client_secret: config.secret,
      code: query.code,
      redirect_uri: OAuth._redirectUri(
        'github',
        config
      )
    });
    const request = await OAuth._fetch(
      `https://github.com/login/oauth/access_token?${content.toString()}`,
      'POST',
      {
        headers: {
          Accept: 'application/json',

View on GitHub (pinned to 5076d2f818)

Solutions

  1. Configure the GitHub login service with clientId and secret in serviceConfiguration or Meteor.settings.
  2. Run 'meteor add accounts-github' and complete the configuration.

When it happens

Trigger: Thrown when GitHub login is attempted but the service is not configured.

Common situations: Missing GitHub clientId/secret in ServiceConfiguration when handling the OAuth callback.


AI-assisted analysis of meteor/meteor@5076d2f818 (2026-08-13). Data as JSON: /api/errors/fabe7c54428869b6. Report an issue: GitHub.