{% extends 'developer/client_details/base.html' %}

{% set client_details_page = "oauth_endpoint" %}

{% block client_details_content %}
  <h3>OAuth2 endpoints</h3>

  <div class="form-group">
    <label class="form-label">Authorization endpoint</label>

    <div class="input-group mt-2">
      <input type="text" disabled value="https://app.simplelogin.io/oauth2/authorize" class="form-control">
      <span class="input-group-append">
          <button
              data-clipboard-text="https://app.simplelogin.io/oauth2/authorize"
              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">
      <input type="text" disabled value="https://app.simplelogin.io/oauth2/token" class="form-control">
      <span class="input-group-append">
          <button
              data-clipboard-text="https://app.simplelogin.io/oauth2/token"
              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">
      <input type="text" disabled value="https://app.simplelogin.io/oauth2/userinfo" class="form-control">
      <span class="input-group-append">
          <button
              data-clipboard-text="https://app.simplelogin.io/oauth2/userinfo"
              class="clipboard btn btn-primary" type="button">
            <i class="fe fe-clipboard"></i>
          </button>
        </span>
    </div>
  </div>

{% endblock %}
