Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passport and React Native #106

Open
lorenzo-moni opened this issue Mar 3, 2021 · 0 comments
Open

Passport and React Native #106

lorenzo-moni opened this issue Mar 3, 2021 · 0 comments

Comments

@lorenzo-moni
Copy link

lorenzo-moni commented Mar 3, 2021

Hi, I'm trying to create a react native app with node express backend and the option of steam authentication

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant