From 7f29756230f1e40066828d17b979e8158833dc4d Mon Sep 17 00:00:00 2001 From: Son NK <> Date: Thu, 16 Jul 2020 23:48:47 +0200 Subject: [PATCH] do not hardcode oauth urls --- .../client_details/oauth_endpoint.html | 12 +++---- .../client_details/oauth_setting.html | 12 +++---- .../templates/developer/new_client.html | 31 ++++++++++--------- 3 files changed, 28 insertions(+), 27 deletions(-) diff --git a/app/developer/templates/developer/client_details/oauth_endpoint.html b/app/developer/templates/developer/client_details/oauth_endpoint.html index cfeac39d..cbf0c255 100644 --- a/app/developer/templates/developer/client_details/oauth_endpoint.html +++ b/app/developer/templates/developer/client_details/oauth_endpoint.html @@ -9,10 +9,10 @@
- + @@ -24,10 +24,10 @@
- + @@ -39,10 +39,10 @@
- + diff --git a/app/developer/templates/developer/client_details/oauth_setting.html b/app/developer/templates/developer/client_details/oauth_setting.html index 39dc3bff..74de3c72 100644 --- a/app/developer/templates/developer/client_details/oauth_setting.html +++ b/app/developer/templates/developer/client_details/oauth_setting.html @@ -43,7 +43,7 @@

- redirect_uri must be HTTPS for security reason. + redirect_uri must be HTTPS for security reason.

@@ -52,20 +52,20 @@ {% endif %} diff --git a/app/developer/templates/developer/new_client.html b/app/developer/templates/developer/new_client.html index 5cfbcb9e..bfe70952 100644 --- a/app/developer/templates/developer/new_client.html +++ b/app/developer/templates/developer/new_client.html @@ -7,24 +7,25 @@ {% endblock %} {% block default_content %} -

Create new app

-

An app can be a website, a SPA webapp or a mobile application

- Let's get started integrating SimpleLogin into your app! +
+
+

Create new app

+

An app can be a website, a SPA webapp or a mobile application

+

Let's get started integrating SimpleLogin into your app!

-
+
+ {{ form.csrf_token }} - - {{ form.csrf_token }} - -
- - {{ form.name(class="form-control", +
+ + {{ form.name(class="form-control", placeholder="Usually your product name, e.g. my-super-app.com") }} - {{ render_field_errors(form.name) }} + {{ render_field_errors(form.name) }} +
+ + +
- - - - +
{% endblock %}