summaryrefslogtreecommitdiff
path: root/app/Template/config/integrations.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-07-16 20:58:22 -0400
committerFrederic Guillot <fred@kanboard.net>2015-07-16 20:58:22 -0400
commit94068019db4ec74e0e2a9550aabf9ca8b0087455 (patch)
tree8064951cdc16d615720c3e27960c5f56fd0fafea /app/Template/config/integrations.php
parentede1f1d9b0c06a05845f4125d59c97c29b6d9842 (diff)
Display OAuth2 urls on integration page and update doc
Diffstat (limited to 'app/Template/config/integrations.php')
-rw-r--r--app/Template/config/integrations.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/Template/config/integrations.php b/app/Template/config/integrations.php
index 44cfc7d1..47b45149 100644
--- a/app/Template/config/integrations.php
+++ b/app/Template/config/integrations.php
@@ -6,6 +6,18 @@
<?= $this->form->csrf() ?>
+ <h3><i class="fa fa-google"></i> <?= t('Google Authentication') ?></h3>
+ <div class="listing">
+ <input type="text" class="auto-select" readonly="readonly" value="<?= $this->url->href('oauth', 'google', array(), false, '', true) ?>"/><br/>
+ <p class="form-help"><a href="http://kanboard.net/documentation/google-authentication" target="_blank"><?= t('Help on Google authentication') ?></a></p>
+ </div>
+
+ <h3><i class="fa fa-github"></i> <?= t('Github Authentication') ?></h3>
+ <div class="listing">
+ <input type="text" class="auto-select" readonly="readonly" value="<?= $this->url->href('oauth', 'github', array(), false, '', true) ?>"/><br/>
+ <p class="form-help"><a href="http://kanboard.net/documentation/github-authentication" target="_blank"><?= t('Help on Github authentication') ?></a></p>
+ </div>
+
<h3><img src="<?= $this->url->dir() ?>assets/img/mailgun-icon.png"/>&nbsp;<?= t('Mailgun (incoming emails)') ?></h3>
<div class="listing">
<input type="text" class="auto-select" readonly="readonly" value="<?= $this->url->href('webhook', 'mailgun', array('token' => $values['webhook_token']), false, '', true) ?>"/><br/>