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 @@
- redirect_uri must be HTTPS for security reason. + redirect_uri must be HTTPS for security reason.
You haven't added any redirect_uri, - that is the url that will receive the code or access-token in OAuth2 flow. + that is the url that will receive the code or access-token in OAuth2 flow.
There's NO NEED to add http://localhost:* as by default, - SimpleLogin whitelists localhost (unlike Facebook). + SimpleLogin whitelists localhost (unlike Facebook).
- You DO need to add your redirect_uri once your website/app goes live (i.e. deployed on production). + You DO need to add your redirect_uri once your website/app goes live (i.e. deployed on production).
- The redirect_uri needs to be HTTPS for security reason. + The redirect_uri needs to be HTTPS for security reason.
- Start by adding your first redirect_uri here 👇 + Start by adding your first redirect_uri here 👇
An app can be a website, a SPA webapp or a mobile application
- Let's get started integrating SimpleLogin into your app! +An app can be a website, a SPA webapp or a mobile application
+Let's get started integrating SimpleLogin into your app!
-