REST - API & CORS Problem

27 views
Skip to first unread message

Horrende Nachnahme

unread,
Jun 6, 2019, 5:08:26 AM6/6/19
to OpenOLAT
Hey community, 

i just started to get familiar with Open Olat. i got Open Olat 13.2 installed on a Ubuntu 18 with mysql & tomcat like the documentation says https://www.openolat.com/fileadmin/adminwiki/QW5vdGhlcl9JbnN0YWxsYXRpb25fR3VpZGU=.html
and currently i am trying to fetch some course data via REST API. Unfortunatly i run into CORS Problems. 
My Questions are, where i can change the server settings to allow cors for open olat? And do you have some book recommendation to get familiar with the technologies used by Open Olat?

Greets Horrende

Florian Gnägi

unread,
Jun 6, 2019, 9:05:14 AM6/6/19
to open...@googlegroups.com
Hi

You can configure some stuff in Administration -> Login -> Security, however we would no recommend doing this. Other than that you need to patch the code yourself or set the header you want in your webserver, e.g. Apache. 

Cheers
Florian

--
--
Sie erhalten diese Nachricht, weil Sie Mitglied sind von Google
Groups-Gruppe "OpenOLAT".
Für das Erstellen von Beiträgen in dieser Gruppe senden Sie eine E-Mail
an open...@googlegroups.com
Um sich von dieser Gruppe abzumelden, senden Sie eine E-Mail an
openolat+u...@googlegroups.com
Weitere Optionen finden Sie in dieser Gruppe unter
http://groups.google.com/group/openolat?hl=de
-------------------------------------------------------------------------------------------------------------------
OpenOLAT - infinite learning - http://www.openolat.org

---
You received this message because you are subscribed to the Google Groups "OpenOLAT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openolat+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openolat/e5b5ce65-5740-4755-a64d-1781ab909824%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--------------------------------------------------------------------
professional services for the e-learning system OpenOLAT
hosting - operating - support - development - mobile - consulting
--------------------------------------------------------------------
frentix  GmbH
Florian Gnägi, Geschäftsführer
Hardturmstrasse 76
CH-8005 Zürich, Switzerland


Find me on wire skype twitter xing linkedin 
--------------------------------------------------------------------

Reply all
Reply to author
Forward
0 new messages