Compute Participant Auth Hash
growsurf_participant_auth_hashCompute a server-side SHA-256 HMAC for GrowSurf Participant Auto Authentication, optionally granting affiliateJoin permission for signed-in users.
Instructions
Compute the server-side SHA-256 HMAC for GrowSurf Participant Auto Authentication. affiliateJoin requires permission for this signed-in user to join the affiliate program directly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | |||
| affiliateJoin | No | ||
| participantAuthSecret | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | No | The computed hash. Pass it to the GrowSurf client as the participant's `hash` value. |