Introduction
This tutorial will help you enable Sign in with Farcaster in your application, as well as enabling write access to Farcaster on behalf of that user. We’ve partnered with the wonderful team at Neynar on this use case who have implemented Dynamic as part of Sign in with Neynar. This means three things for you:- it’s completely plug and play, drop in the code snippet and ship
- warps are already sponsored by Neynar
- you get the best of Dynamic and Neynar in one go
Video walkthrough
Live demo
You can see this flow in action on the Neynar demo: https://demo.neynar.com/. You can find the code for this demo here.Step By Step Walkthrough
We recommend referring to the Neynar guide for the most up-to-date information.
Configure Neynar
Go to the Neynar Developer Portal settings tab and update the following: Name - Displayed to the user in Step 3. Logo URL - Displayed to the user in Step 3. Use a PNG or SVG format. Authorized origins - Authorized origins are the HTTP origins that host your web application. e.g. https://demo.neynar.com This is required to pass user credentials back to your application securely. This cannot contain wildcards or IP addresses.Drop in the code snippet
Add the following code snippet to your html, replacingYOUR_NEYNAR_CLIENT_ID
with your Neynar client ID. You can find this in the Neynar Developer Portal App tab: