You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2020/09/08 08:37:45 UTC

[incubator-ponymail-foal] 10/10: Sample github config

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 <hu...@apache.org>
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: