Skip to content

docs: correct respondent login CGScript examples - #164

Merged
davhdavh merged 2 commits into
mainfrom
copilot/fix-respondent-login-cgscript-example
Nov 25, 2026
Merged

davhdavh merged 2 commits into
mainfrom
copilot/fix-respondent-login-cgscript-example

Conversation

@davhdavh

@davhdavh davhdavh commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

The README’s respondent-login snippet referenced invalid APIs and an undefined QAS object.

Changes

  • Replaced the gateway example with return and User_getQasUser() / QAS_getCurrentQAS().
  • Added the corresponding questionnaire dummy-script example using sendToUrl().
sendToUrl("https://siteurl.com/authentication/login?respondent=" + User_getQasUser().ResourceGuid + "&respondent_secret=" + QAS_getCurrentQAS().AccessCode);

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
@davhdavh davhdavh changed the title [WIP] Fix the respondent-login CGScript example docs: correct respondent login CGScript examples Nov 25, 2026
@davhdavh
davhdavh marked this pull request as ready for review November 25, 2026 07:39
@davhdavh
davhdavh merged commit a3f3bdd into main Nov 25, 2026
@davhdavh
davhdavh deleted the copilot/fix-respondent-login-cgscript-example branch November 25, 2026 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: fix the respondent-login CGScript example

2 participants