This is an automated email from the ASF dual-hosted git repository.

kmccusker pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/incubator-milagro-mfa-server.git

commit d9b08dd0dabaad15d723e316f0b0705a9547da6d
Author: Pavlin Angelov <[email protected]>
AuthorDate: Tue Sep 20 17:09:25 2016 +0300

    Add/Change some default configs
    
    Add Mobile App flow configs in config_default so would be little more
    easy to enable QR code flow
---
 servers/rps/config_default.py | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

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