improve wording

This commit is contained in:
Son NK 2019-09-02 11:42:52 +02:00
parent 62c3b4cd02
commit f518085f1a
4 changed files with 11 additions and 7 deletions

View File

@ -21,7 +21,7 @@
<a href="{{ url_for('developer.client_detail_oauth_setting', client_id=client.id) }}"
class="list-group-item list-group-item-action {{ 'active' if client_details_page == 'oauth_setting' }}">
<span class="icon mr-3"><i class="fe fe-settings"></i></span>OAuth Setting
<span class="icon mr-3"><i class="fe fe-settings"></i></span>OAuth Settings
</a>
<a href="{{ url_for('developer.client_detail_oauth_endpoint', client_id=client.id) }}"
@ -31,7 +31,7 @@
<a href="{{ url_for('developer.client_detail_advanced', client_id=client.id) }}"
class="list-group-item list-group-item-action {{ 'active' if client_details_page == 'advanced' }}">
<span class="icon mr-3"><i class="fe fe-alert-octagon"></i></span>Advanced Setting
<span class="icon mr-3"><i class="fe fe-alert-octagon"></i></span>Advanced Settings
</a>
</div>

View File

@ -5,7 +5,7 @@
{% block client_details_content %}
{% if is_new %}
<div class="alert alert-warning alert-dismissible fade show mb-4" role="alert">
<h4 class="alert-heading">Well done!</h4>
<h4 class="alert-heading">Well done!</h4>
<p>
Please head to our <a href="http://docs.simplelogin.io" target="_blank">documentation</a>
to see how to add SimpleLogin into your website/application.
@ -13,7 +13,7 @@
<p>
<strong>And if you already know about OAuth</strong>, do not forget to set your OAuth <em>Redirect URI</em>
before your app is deployed on production. You can add the <em>Redirect URI</em>
in the <b>OAuth Setting</b> section on the right 👉
in the <b>OAuth Settings</b> section on the right 👉
SimpleLogin OAuth endpoints can be found in <b>OAuth endpoints</b> section, always on the right 👉
</p>

View File

@ -53,8 +53,12 @@
You haven't added any <a href="https://www.oauth.com/oauth2-servers/redirect-uris/">redirect_uri</a>,
that is the url that will receive the <em>code</em> or <em>access-token</em> in OAuth2 flow.
<br>
By default, SimpleLogin whitelists <em>localhost</em> but you do
need to add your <em>redirect_uri</em> here once your website/app goes live.
There's NO NEED to add <em>http://localhost:*</em> here as by default,
SimpleLogin <em>whitelists</em> localhost!
<br>
You DO need to add your <em>redirect_uri</em> here once your website/app goes live.
<br>
The <em>redirect_uri</em> need to be HTTPS for security reason.
<br>
Start by adding your first <em>redirect_uri</em> here 👇
</small></p>

View File

@ -19,7 +19,7 @@
<div class="form-group">
<label class="form-label">Display Name</label>
{{ form.name(class="form-control",
placeholder="The name users sees when they click on *Sign in with SimpleLogin*") }}
placeholder="Usually your product name, e.g. my-super-app.com") }}
{{ render_field_errors(form.name) }}
</div>