oauth/templates/client/index.html
author durandn
Fri, 01 Apr 2016 15:13:39 +0200
changeset 44 1b2019523772
parent 5 4407b131a70e
permissions -rw-r--r--
use a new MTDC_GED_REDIRECT_URI in auth.py instead of MTDC_GED_BASE_URL

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title></title>
</head>
<body>
  <h4>Mock GED client</h4>
  <p>Client Credentials OAuth token owner is: {{ oauth_username }}</p>
  <p>Logged user is: {{ current_username }}</p>
  <p>Create a <a href="{{ config['CREATE_RENKAN_URL'] }}">new Renkan</a> and edit (authorization flow)</p>
  <p>Create a <a href="{{ url_for('renkan_request') }}">new Renkan</a> from server (clients credentials)</p>
</body>
</html>