issues
search
eduNEXT
/
xblock-limesurvey
LimeSurvey XBlock for Open edX
GNU Affero General Public License v3.0
1
stars
0
forks
source link
feat: add api credentials in django settings
#14
Closed
BryanttV
closed
1 year ago
BryanttV
commented
1 year ago
Description
This PR adds the credentials
(username and password)
to authenticate to the LimeSurvey API as a Django settings. The
session_key
is renewed every time it expires.
The
session key
was removed from the XBlock configuration in Studio.
How to test
Configure a survey as in
this PR
.
In Studio add/edit the unit with the XBlock, and edit the configuration changing the Survey ID if necessary.
From the LMS access to the unit with the XBlock.
The survey should load normally.
As the
session_key
expires every 2 hours, it's recommended to access the survey again after this time, and verify that the survey loads normally.
Description
session_key
is renewed every time it expires.How to test
session_key
expires every 2 hours, it's recommended to access the survey again after this time, and verify that the survey loads normally.