IMPORTANT: This code is intended for educational and demonstrative purposes only. It should not be used in a production instance without thorough testing and security analysis.
- Update site Head Markdown to include your SITE KEY
- Update Recaptcha class to include your SERVER Key
- Generate new Certificate in Setup -> Security -> Certificate and Key Management and give it "Passkey_Authentication" as unique Name
- Download generated Certificate and update it in "Passkey Authentication" Connected App found in Setup -> Apps -> App Manager
- Update YOUR-CLIENT-ID in PasskeyService class with Consumer Key from Connected App
- Update Remote Site Settings "Default_Token_Endpoint" to your Experience Cloud domain
- Give access to Connected App to users that you would want to allow Passkey Athentication
Don't forget to publish FIDO Passkey site before testing!