{"action":"created","issue":{"url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/675","labels_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/675/labels{/name}","comments_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/675/comments","events_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/675/events","html_url":"https://github.com/sandstorm-io/sandstorm/issues/675","id":100425150,"number":675,"title":"Github auth broken in dev?","user":{"login":"pwais","id":218145,"avatar_url":"https://avatars.githubusercontent.com/u/218145?v=3","gravatar_id":"","url":"https://api.github.com/users/pwais","html_url":"https://github.com/pwais","followers_url":"https://api.github.com/users/pwais/followers","following_url":"https://api.github.com/users/pwais/following{/other_user}","gists_url":"https://api.github.com/users/pwais/gists{/gist_id}","starred_url":"https://api.github.com/users/pwais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwais/subscriptions","organizations_url":"https://api.github.com/users/pwais/orgs","repos_url":"https://api.github.com/users/pwais/repos","events_url":"https://api.github.com/users/pwais/events{/privacy}","received_events_url":"https://api.github.com/users/pwais/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-11T22:27:56Z","updated_at":"2015-08-11T23:33:02Z","closed_at":null,"body":"I'm using `vagrant-spk` and have and up-to-date dev install of sandstorm (at the time of writing).  I tried enabling Github auth in the admin console.  Setup works fine, but when I log out and try to log in using Github, login fails and I see this in `/opt/sandstorm/var/log/sandstorm.log`: \r\n\r\n```\r\nException while invoking method 'login' Error: Match error: Expected string, got object in field name\r\n    at checkSubtree (packages/check/match.js:159:1)\r\n    at packages/check/match.js:296:1\r\n    at Function._.each._.forEach (packages/underscore/underscore.js:113:1)\r\n    at checkSubtree (packages/check/match.js:290:1)\r\n    at check (packages/check/match.js:32:1)\r\n    at configurations (packages/sandstorm-db/user.js:81:1)\r\n    at Object.Accounts.insertUserDoc (packages/accounts-base/accounts_server.js:999:1)\r\n    at Object.Accounts.updateOrCreateUserFromExternalService (packages/accounts-base/accounts_server.js:1164:1)\r\n    at [object Object].Package (packages/sandstorm-accounts-oauth/oauth_server.js:55:1)\r\n    at packages/accounts-base/accounts_server.js:358:1\r\nSanitized and reported to the client as: Match failed [400]\r\n```\r\n\r\nLooks like Github is returning something with a schema that Sandstorm(/Meteor?) doesn't expect.  "},"comment":{"url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/comments/130111291","html_url":"https://github.com/sandstorm-io/sandstorm/issues/675#issuecomment-130111291","issue_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/675","id":130111291,"user":{"login":"paulproteus","id":25457,"avatar_url":"https://avatars.githubusercontent.com/u/25457?v=3","gravatar_id":"","url":"https://api.github.com/users/paulproteus","html_url":"https://github.com/paulproteus","followers_url":"https://api.github.com/users/paulproteus/followers","following_url":"https://api.github.com/users/paulproteus/following{/other_user}","gists_url":"https://api.github.com/users/paulproteus/gists{/gist_id}","starred_url":"https://api.github.com/users/paulproteus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulproteus/subscriptions","organizations_url":"https://api.github.com/users/paulproteus/orgs","repos_url":"https://api.github.com/users/paulproteus/repos","events_url":"https://api.github.com/users/paulproteus/events{/privacy}","received_events_url":"https://api.github.com/users/paulproteus/received_events","type":"User","site_admin":false},"created_at":"2015-08-11T23:33:02Z","updated_at":"2015-08-11T23:33:02Z","body":"I'll make you a build that logs your `name` and we can go from there!"}}