aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2019-12-10 23:13:52 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2019-12-17 19:09:24 +0100
commite847f14c7688f43b5f74e7362dcd5d4714e98bd3 (patch)
treec3095fc41dab81ea7db23c36474acc1494dbc7c1 /conf
parent1b3afac6a3f2f7f64c155d424c132522f4987ac8 (diff)
Use of cynagoauth
The flow of HTML5 applications is adjusted to use the basic implementation of cynagoauth. Bug-AGL: SPEC-2968 Bug-AGL: SPEC-3032 Change-Id: Iabf7ebb39fe9ed87bf1fd5b6742fb512a6df19a7 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'conf')
-rw-r--r--conf/system/afm-system-daemon.service.in2
-rw-r--r--conf/unit/binder.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/conf/system/afm-system-daemon.service.in b/conf/system/afm-system-daemon.service.in
index fa83f11..dc980cc 100644
--- a/conf/system/afm-system-daemon.service.in
+++ b/conf/system/afm-system-daemon.service.in
@@ -1,6 +1,6 @@
[Unit]
Description=Application Framework Master, system side
-Requires=afm-system-setup.service
+Requires=afm-system-setup.service cynagoauth.service
[Service]
#User=afm
diff --git a/conf/unit/binder.inc b/conf/unit/binder.inc
index 81758fc..a7188e0 100644
--- a/conf/unit/binder.inc
+++ b/conf/unit/binder.inc
@@ -47,6 +47,6 @@ ENDIF \
ON_VALUE(tcp, --ws-server=tcp:{{name}}) \
{{/provided-api}} \
ON_PERM(:platform:apis:auto-ws, --auto-api=API_PATH_WS) \
- ON_CONTENT(text/html, --exec /usr/bin/web-runtime http://LOCALUSERAPP:8080/{{content.src}}) \
+ ON_CONTENT(text/html, --exec /usr/bin/cynagoauth-launch /usr/bin/web-runtime http://LOCALUSERAPP:8080/{{content.src}}) \
ON_CONTENT(application/vnd.agl.native, --exec {{:#metadata.install-dir}}/{{content.src}} @p @t)
%nl