From e2df051aca97aeea61b9e58eade0bcbc676ebdcb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Bedna=C5=99=C3=ADk?= <jan.bednarik@gmail.com>
Date: Mon, 19 Feb 2018 14:32:34 +0100
Subject: [PATCH] Update readme - Redirect URI and preregistered OpenID
 clients.

---
 README.md | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 88d47a5..c303aa3 100644
--- a/README.md
+++ b/README.md
@@ -26,6 +26,16 @@ Configuration is done by environment variables:
  - `ELASTICSEARCH_DSN` - DSN of Elasticsearch cluster (default: `http://localhost:9200`)
  - `SITE_NAME` - site name for OpenID authentication (default: `Open Lobby`)
  - `ES_INDEX` - Elasticsearch indices prefix (default: `openlobby`)
+ - `REDIRECT_URI` - redirect URI used in OpenID Connect authentication (default: `http://localhost:8010/login-redirect`)
+     - put there address where you run server, but keep there `/login-redirect`
+     - this is the Redirect URI for static client registration at OpenID Provider
+
+### Login shortcuts aka preregistered OpenID Clients
+
+Some OpenID Providers does not allow dynamic client registration. You can still
+use them. Register client with `REDIRECT_URI` and save client's credentials into
+database. You can do it in admin interface running at `/admin`. It's standard
+Django admin (create superuser for yourself like `./manage.py createsuperuser`).
 
 ## Docker
 
@@ -41,7 +51,7 @@ Demo of Open Lobby with instructions is in repository
 
 ## Local run and development
 
-### Prrequisites
+### Prerequisites
 
 You need to have Python 3 installed.
 
-- 
GitLab