wevm / frog

Framework for Farcaster Frames 🐸
https://frog.fm
Other
393 stars 79 forks source link

Frequent Logouts with Local Debug Frame Tool #351

Closed nestorbonilla closed 1 week ago

nestorbonilla commented 1 month ago

Describe the bug

Hi team,

I'm encountering frequent logouts (every couple of hours, although there's no specific time) when using the local debug frame tool, even though I've provided a hub in my app definition:

const app = new Frog({
  assetsPath: '/',
  basePath: '/api',
  hub: neynar({ apiKey: process.env.NEYNAR_API_KEY! }),
  verify: process.env.NODE_ENV === 'production'
})

I've tried both with and without the verify attribute. Is there a workaround to prevent these logouts? It's consuming my Warps.

Thanks for looking into this!

Link to Minimal Reproducible Example

No response

Steps To Reproduce

No response

Frog Version

0.11.5

TypeScript Version

5.4.5

Check existing issues

Anything else?

No response

nestorbonilla commented 1 month ago

Maybe SIWN could help with these logouts? Seems like it might be a smoother way to handle authentication overall.

dalechyn commented 1 week ago

Should have been improved with #380. If frequent logouts is still a thing – feel free to reopen.