Relative Content

Tag Archive for reactjsnode.jshttpcookiesoauth-2.0

How are cookies set? – React.js & Node.js

Description: I am using Oauth 2.0 for my react app. When I get google login consent from users, the redirect url is ‘http://localhost:3000/google/auth‘ where I handle the getting access token , registering / logging user & sending JWT cookies parts. The JWT cookie is set to http://localhost:5173 which is my vite react front-end and I […]