This guide will help you to setup a Google Recaptcha for your Service desk website
What you need:
Google Account
Step 1. Register a new site at Google
Visit https://www.google.com/u/1/recaptcha/admin/create
Label:
reCAPTCHA type: reCAPTCHA v3
Domains: add Jira base url domain name
Owners:
Accept the reCAPTCHA Terms of Service
Submit
Step 2. Store the keys
Keep a copy of both Site and Secret key to be used in Step 3
Step 3. Go to Public Customer Portal Settings in Jira
Select the Jira icon > Jira settings > Apps or Add ons.
Under Tinker for JSD, click Public Customer Portal
Scroll down to Recaptcha V3
Step 4. Apply the Site and Secret key
Use the keys generated from Step 2 and apply them accordingly and save
Step 5. Tinker the score Threshold
reCAPTCHA v3 returns a score (1.0 is very likely a good interaction, 0.0 is very likely a bot). Based on the score, you can take variable action in the context of your site. By default, you can use a threshold of 0.5.
reCAPTCHA will verify the user’s behavior from login and up until the submission of the ticket. If a weird quick behavior happened the Ticket would be rejected
If this is causing issues for your user tweak the score Threshold
Step 6. Verify the reCAPTCHA appearing normally on public portal
After a successful addition of reCAPTCHA you should be able to see the below picture when access the public portal
If the reCAPTCHA didn’t appear on the portal. it means that the Site key provided is wrong, double check