clerk / clerk-capacitor-starter

Capacitor starter project using Clerk for authentication

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using this with NextJs

rrdesignweb opened this issue · comments

Hi there wondering if you can point me in the right direction,

I am using https://github.com/clerkinc/t3-turbo-and-clerk but am using capacitor with nextjs, typescript & ionic instead of expo,

I have this setup ok however the signin redirects to a browser instead of in app.

Wondering what moving parts I have to get right to get this working? I noticed the ClerkProvider has a standardBrowser prop <ClerkProvider standardBrowser={false} {...pageProps}> but throwing an error. Would I need to pull out the parts I need from this code block - https://github.com/clerkinc/clerk-capacitor-starter/blob/2f3041eb6cbdafed482be15c8265d14f2e361c4e/www/index.html#L59 and add in somewhere?

Thanks any help would be appreciated.