~cytrogen/srht-deploy

ref: 098f0ded66b5f614ec99f0d3efb89b3a5b1bc0f6 srht-deploy/meta-custom/templates/oauth2-client-registered.html -rw-r--r-- 1008 bytes
098f0ded — Cytrogen 初始提交:sourcehut Docker Compose 自托管部署 10 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{% extends "meta.html" %}
{% block title %}
<title>OAuth 2.0 client registered - {{cfg("sr.ht", "site-name")}} meta</title>
{% endblock %}
{% block content %}
<div class="row">
  <div class="col-md-12">
    {% if not client_reissued %}
    <h3>OAuth 2.0 client registered</h3>
    {% else %}
    <h3>OAuth 2.0 client reissued</h3>
    <p>
      Your OAuth client has been issued new credentials. All previously issued
      bearer tokens have been revoked. You must send users back through the
      authorization process to restore access.
    </p>
    {% endif %}
    <dl>
      <dt>Client ID</dt>
      <dd><code>{{client_uuid}}</code></dt>
      <dt>Client secret</dt>
      <dd><code>{{client_secret}}</code></dt>
    </dl>
    <div class="alert alert-danger">
      Your client secret <strong>will never be shown to you again</strong>.
    </div>
    <a
      href="{{url_for('oauth2.dashboard')}}"
      class="btn btn-primary"
    >Continue {{icon('caret-right')}}</a>
  </div>
</div>
{% endblock %}