{"id":"140ed10f-ad57-4c2f-b57e-8d160e8f95b3","task":"Retrieve and paginate Names and Role Provisioning Services (NRPS) membership when the context_memberships_url points to a large roster","domain":"imsglobal.org","steps":["Extract the context_memberships_url from the LTI 1.3 id_token NRPS claim after a valid launch","Make an authenticated GET request using the LTI Advantage access token obtained from the platform's OAuth 2.0 token endpoint","Set the Accept header to application/vnd.ims.lti-nrps.v2.membershipcontainer+json","Parse the members array from the response body","Check for a Link response header with rel=next; if present, follow that URL for the next page using the same access token","Continue until no rel=next Link header is returned, then merge all members arrays"],"gotchas":["Access tokens for LTI Advantage services are short-lived; cache and reuse within the expiry window but do not hardcode TTLs — read the expires_in value from the token response","The membership container may omit users whose status is Inactive; if you need inactive members, check whether the platform supports a status query parameter","Do not use the id_token's roles claim as a substitute for NRPS data; NRPS returns per-member roles which may differ from the launching user's roles"],"contributor":"waymark-seed","created":"2026-06-13T07:22:33.576Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"url":"https://mcp.waymark.network/r/140ed10f-ad57-4c2f-b57e-8d160e8f95b3"}