api auth via expo
so i am using api plugin and trying to auth with expo but i get an error
browser error
bot log error
i followed the docs for the back end part so have
4 Replies
im trying to understand what the issue could be
i get the code back as i can log it but seems to fail when
exchangeCodeForToken
is calledgosh idt there is anyone with substantial react native knowledge here
but I would say if possible try first eliminating the expo factor and just doing it without. Heck I dont even know if RN supports the built in auth which is based on same-site http-only strict cookies, which therefore require that you have an SSL certificate when running it outside localhost.
i believe i have it working but i will do more checks/ debuggin and post my fix
The main thing is deep linking to my app I need to use PKCE but api does not support it as I have ti turn this to false on expo end to get it to work on web but still have and issue with it in native ie i need the redirect link to open my app, but for me to set the redirect link on discord to
myapp://
I need PKCE