summaryrefslogtreecommitdiffstats
path: root/inc/simplesamlphp/modules/oauth/templates/authorized.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/simplesamlphp/modules/oauth/templates/authorized.php')
-rw-r--r--inc/simplesamlphp/modules/oauth/templates/authorized.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/inc/simplesamlphp/modules/oauth/templates/authorized.php b/inc/simplesamlphp/modules/oauth/templates/authorized.php
new file mode 100644
index 0000000..264751a
--- /dev/null
+++ b/inc/simplesamlphp/modules/oauth/templates/authorized.php
@@ -0,0 +1,20 @@
+<?php
+
+$this->data['header'] = 'OAuth Authorization';
+$this->includeAtTemplateBase('includes/header.php');
+
+?>
+
+ <p style="margin-top: 2em">
+ You are now successfully authenticated, and you may click <em>Continue</em> in the application where you initiated authentication.
+ </p>
+<?php if (!empty($this->data['oauth_verifier'])) {?>
+ <p>
+ When asked, the verifier code to finish the procedure, is: <b><?php echo htmlspecialchars($this->data['oauth_verifier']);?></b>.
+ </p>
+<?php } ?>
+
+
+<?php
+$this->includeAtTemplateBase('includes/footer.php');
+?> \ No newline at end of file