Repository: incubator-milagro-mfa-server
Updated Branches:
  refs/heads/master d84beade4 -> 1b3f5045c


Add/Change some default configs

Add Mobile App flow configs in config_default so would be little more
easy to enable QR code flow


Project: 
http://git-wip-us.apache.org/repos/asf/incubator-milagro-mfa-server/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-milagro-mfa-server/commit/d9b08dd0
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-milagro-mfa-server/tree/d9b08dd0
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-milagro-mfa-server/diff/d9b08dd0

Branch: refs/heads/master
Commit: d9b08dd0dabaad15d723e316f0b0705a9547da6d
Parents: d84bead
Author: Pavlin Angelov <pavlin.ange...@miracl.com>
Authored: Tue Sep 20 17:09:25 2016 +0300
Committer: Pavlin Angelov <pavlin.ange...@miracl.com>
Committed: Tue Sep 20 17:09:25 2016 +0300

----------------------------------------------------------------------
 servers/rps/config_default.py | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-milagro-mfa-server/blob/d9b08dd0/servers/rps/config_default.py
----------------------------------------------------------------------
diff --git a/servers/rps/config_default.py b/servers/rps/config_default.py
index 98896ef..4430e4a 100644
--- a/servers/rps/config_default.py
+++ b/servers/rps/config_default.py
@@ -109,15 +109,23 @@ RegisterForwardUserHeaders = ''
 LogoutURL = '/logout'
 
 """PIN pad client options"""
-# rpsBaseURL = ''
-# rpsPrefix = 'rps'  # Default
+# Need to specify the url where the RPS is accesable like: 
http://<address>:<port>
+rpsBaseURL = "http://%s:%s/"; % (address, port)  # URL where RPS is accesable
+rpsPrefix = 'rps'  # Default
 # setDeviceName = True
 
 """Mobile client options"""
 # mobileUseNative = True # False by default
 serviceName = "Milagro MFA Demo"
-# serviceType = "online" # Default
-# serviceIconUrl = "http://example.com/icon.jpg";
+serviceType = "online"  # Default
+serviceIconUrl = "http://example.com/icon.jpg";
+mobileService = {
+   "name": serviceName,
+   "url": rpsBaseURL,
+   "rps_prefix": rpsPrefix,
+   "logo_url": serviceIconUrl,
+   "type": serviceType
+ }
 
 """Key value storage options"""
 storage = 'memory'

Reply via email to