Hi, I'm trying to create a react native app with node express backend and the passport-steam strategy.
When the user in the app click on the login button a browser with the authentication page pop out and let the user log in normally. Then the user is redirected back on the app using deep-links but when I try to perform a GET request to get back the req.user it doesn't return anything. This code is perfectly running on desktop browser but I can't manage to let it work on react native.
I strongly believe that this is led by the fact that React Native is not a browser environment and so I need to manage session cookies on my own.
Can somebody explain me how to do this thing and maybe link some guides or some useful GitHub repos.
Hi, I'm trying to create a react native app with node express backend and the passport-steam strategy.
When the user in the app click on the login button a browser with the authentication page pop out and let the user log in normally. Then the user is redirected back on the app using deep-links but when I try to perform a GET request to get back the
req.user
it doesn't return anything. This code is perfectly running on desktop browser but I can't manage to let it work on react native.I strongly believe that this is led by the fact that React Native is not a browser environment and so I need to manage session cookies on my own.
Can somebody explain me how to do this thing and maybe link some guides or some useful GitHub repos.
Thank in Advance