2019-08-16 18:03:45 +08:00
|
|
|
{% extends 'developer/client_details/base.html' %}
|
|
|
|
|
|
|
|
{% set client_details_page = "oauth_endpoint" %}
|
|
|
|
|
|
|
|
{% block client_details_content %}
|
2021-10-26 17:55:42 +08:00
|
|
|
<h1 class="h2">OAuth2 endpoints</h1>
|
2019-08-16 18:03:45 +08:00
|
|
|
|
2021-04-01 17:05:21 +08:00
|
|
|
<div class="form-group">
|
|
|
|
<label class="form-label">OpenID Connect Discovery Document</label>
|
|
|
|
|
|
|
|
<div class="input-group mt-2">
|
|
|
|
<input type="text" disabled value="{{ URL + "/.well-known/openid-configuration" }}" class="form-control">
|
|
|
|
<span class="input-group-append">
|
|
|
|
<button
|
|
|
|
data-clipboard-text="{{ URL + "/.well-known/openid-configuration" }}"
|
|
|
|
class="clipboard btn btn-primary" type="button">
|
|
|
|
<i class="fe fe-clipboard"></i>
|
|
|
|
</button>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2019-08-16 18:03:45 +08:00
|
|
|
<div class="form-group">
|
|
|
|
<label class="form-label">Authorization endpoint</label>
|
|
|
|
|
|
|
|
<div class="input-group mt-2">
|
2020-07-17 05:48:47 +08:00
|
|
|
<input type="text" disabled value="{{ URL + "/oauth2/authorize" }}" class="form-control">
|
2019-08-16 18:03:45 +08:00
|
|
|
<span class="input-group-append">
|
|
|
|
<button
|
2020-07-17 05:48:47 +08:00
|
|
|
data-clipboard-text="{{ URL + "/oauth2/authorize" }}"
|
2019-08-16 18:03:45 +08:00
|
|
|
class="clipboard btn btn-primary" type="button">
|
|
|
|
<i class="fe fe-clipboard"></i>
|
|
|
|
</button>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="form-label">Token endpoint</label>
|
|
|
|
|
|
|
|
<div class="input-group mt-2">
|
2020-07-17 05:48:47 +08:00
|
|
|
<input type="text" disabled value="{{ URL + "/oauth2/token" }}" class="form-control">
|
2019-08-16 18:03:45 +08:00
|
|
|
<span class="input-group-append">
|
|
|
|
<button
|
2020-07-17 05:48:47 +08:00
|
|
|
data-clipboard-text="{{ URL + "/oauth2/token" }}"
|
2019-08-16 18:03:45 +08:00
|
|
|
class="clipboard btn btn-primary" type="button">
|
|
|
|
<i class="fe fe-clipboard"></i>
|
|
|
|
</button>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="form-label">UserInfo endpoint</label>
|
|
|
|
|
|
|
|
<div class="input-group mt-2">
|
2020-07-17 05:48:47 +08:00
|
|
|
<input type="text" disabled value="{{ URL + "/oauth2/userinfo" }}" class="form-control">
|
2019-08-16 18:03:45 +08:00
|
|
|
<span class="input-group-append">
|
|
|
|
<button
|
2020-07-17 05:48:47 +08:00
|
|
|
data-clipboard-text="{{ URL + "/oauth2/userinfo" }}"
|
2019-08-16 18:03:45 +08:00
|
|
|
class="clipboard btn btn-primary" type="button">
|
|
|
|
<i class="fe fe-clipboard"></i>
|
|
|
|
</button>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|