- Posts: 4
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Token length is shortened when using API
- JSinitson
- Topic Author
- Offline
- New Member
Less
More
3 years 11 months ago - 3 years 11 months ago #199647
by JSinitson
Token length is shortened when using API was created by JSinitson
I'm issuing the method add_participants using the API.
The participiants are added an I get the tokens in the response.
But why are the tokens in that response not 15 chars long as in the Participant settings panel, but just 3?
When I add the token using the Amdin GUI the token length is correct.
Am I missing something?
This is the code I'm issuing:
LimeSurvey Version is 4.1.17+200414
The participiants are added an I get the tokens in the response.
But why are the tokens in that response not 15 chars long as in the Participant settings panel, but just 3?
When I add the token using the Amdin GUI the token length is correct.
Am I missing something?
This is the code I'm issuing:
Code:
$res = $myJSONRPCClient->add_participants($sessionKey, $surveyId, $participiants, true);
LimeSurvey Version is 4.1.17+200414
Last edit: 3 years 11 months ago by JSinitson.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13643
- Thank you received: 2491
3 years 11 months ago - 3 years 11 months ago #199748
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Token length is shortened when using API
Strange ?
If you are sure : please report the issue …
If possible : with default survey settings + group survey setting + a lss.
If you are sure : please report the issue …
If possible : with default survey settings + group survey setting + a lss.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 3 years 11 months ago by DenisChenu.
The topic has been locked.
- JSinitson
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 1
3 years 10 months ago - 3 years 10 months ago #200064
by JSinitson
Replied by JSinitson on topic Token length is shortened when using API
The issue is already reported:
bugs.limesurvey.org/view.php?id=16042
And the workaround is also there: do not inherit the token length from the global settings.
And the workaround is also there: do not inherit the token length from the global settings.
Last edit: 3 years 10 months ago by JSinitson.
The following user(s) said Thank You: DenisChenu
The topic has been locked.