diff --git a/example/github_server.js b/example/github_server.js
index <HASH>..<HASH> 100644
--- a/example/github_server.js
+++ b/example/github_server.js
@@ -12,7 +12,7 @@ server.connection({
 var opts = {
   REDIRECT_URL: '/githubauth',  // must match google app redirect URI
   handler: require('./github_oauth_handler.js'), // your handler
-  scope: 'user' // get user's profile see: developer.github.com/v3/oauth/#scopes
+  SCOPE: 'user' // get user's profile see: developer.github.com/v3/oauth/#scopes
 };
 
 var hapi_auth_github = require('../lib');
diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -97,7 +97,7 @@ module.exports.login_url = function() {
   var params = {
     client_id : process.env.GITHUB_CLIENT_ID,
     redirect_uri : process.env.BASE_URL + OPTIONS.REDIRECT_URL,
-    scope : 'repo',
+    scope : OPTIONS.SCOPE,
     state: crypto.createHash('sha256').update(Math.random().toString()).digest('hex')
   }
   console.log(params);
scope for auth is defined when registering the plugin. fixes #4