blob: aa8ef81866ead80edc730a3f31f416ba907b3529 (
plain)
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
34
35
36
37
38
39
40
41
42
43
44
45
|
{%extends "base.html"%}
{%block title%}gn-auth: View OAuth2 Client{%endblock%}
{%block pagetitle%}View OAuth2 Client{%endblock%}
{%block content%}
{{flash_messages()}}
<h2>Change Oauth2 Client Secret</h2>
<p>You are attempting to change the <strong>CLIENT_SECRET</strong> value for the
following client:</p>
<table class="table">
<tbody>
<tr>
<td><strong>Client ID</strong></td>
<td>{{client.client_id}}</td>
</tr>
<tr>
<td><strong>Client Name</strong></td>
<td>{{client.client_metadata.client_name}}</td>
</tr>
</tbody>
</table>
<p>Are you absolutely sure you want to do this?<br />
<small>Note that you'll need to update your configurations for the client and
restart it for the settings to take effect!</small></p>
<form id="frm-change-client-secret"
method="POST"
action="{{url_for('oauth2.admin.change_client_secret',
client_id=client.client_id)}}">
<input type="hidden" name="client_id" value="{{client.client_id}}" />
<input type="hidden" name="client_name" value="{{client.client_metadata.client_name}}" />
<div class="form-group">
<input type="submit" class="btn btn-danger" value="generate new secret" />
</div>
</form>
{%endblock%}
|