oauth proxy + expo not working
Heya, migrated to better-auth from next-auth and ran into some issues with the oauth proxy. Worked through those but now I'm struggling getting it to play nice with Expo.
I think it has to do with the multiple levels of redirects and each plugin writing the same query param, causing the former plugin to lose data in the roundtrip.
Everything works fine on their own. Just using the oauth proxy i have working auth for prod, preview and dev on the web. And if i remove the oauth proxy i have working auth for prod and dev as well as on native, but not preview deployments.
Anyone tackled this yet? Will play around and see if i can fix the expo client and/or the oauth proxy but just thought I'd raise it here to see if there's some prior art.
I think it has to do with the multiple levels of redirects and each plugin writing the same query param, causing the former plugin to lose data in the roundtrip.
Everything works fine on their own. Just using the oauth proxy i have working auth for prod, preview and dev on the web. And if i remove the oauth proxy i have working auth for prod and dev as well as on native, but not preview deployments.
Anyone tackled this yet? Will play around and see if i can fix the expo client and/or the oauth proxy but just thought I'd raise it here to see if there's some prior art.