diff --git a/examples/github.js b/examples/github.js index 61fba9db..25f40601 100755 --- a/examples/github.js +++ b/examples/github.js @@ -11,10 +11,15 @@ internals.start = async function () { const server = Hapi.server({ port: 8000 }); await server.register(Bell); + + // You will need github account for setting up an application and get a clientID and ClientSecret + // This is a helpful tutorial for the whole process: https://developer.github.com/apps/building-github-apps/creating-a-github-app/ + // This guide will help you set up your app and generate ID and secret. server.auth.strategy('github', 'bell', { provider: 'github', password: 'cookie_encryption_password_secure', + isSecure: false, // For testing or in environments secured via other means clientId: '', clientSecret: '', location: 'https://example.com',