This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git

commit 47171c110844dbfa78fa4f5e6b7817f055c7e9f5
Author: Daniel Gruno <[email protected]>
AuthorDate: Tue Sep 8 10:36:58 2020 +0200

    Sample github config
---
 webui/js/config.js | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/webui/js/config.js b/webui/js/config.js
index 2e6ceb9..21a0699 100644
--- a/webui/js/config.js
+++ b/webui/js/config.js
@@ -33,6 +33,13 @@ var pm_config = {
             fullname_key: 'name',
             email_key: 'email',
             client_id: 
'41983040784-s1gl269f0p537r22h8eai2pdr1a94pfg.apps.googleusercontent.com'
+        },
+        github: {
+            name: "GitHub OAuth",
+            oauth_portal: "https://github.com/login/oauth/authorize";,
+            client_id: "your-client-id-here",
+            scope: "user:email",
+            construct: true
         }
     },
     indexMode: 'table', // front page view mode:

Reply via email to