Node.js Cookies

I think is a very basic question, but I’ve followed the quick start guide and been able to implement the Okta sign-in page. Now when login is success, Okta creates a cookie and redirects to the redirect_url (this is fine)

My question is: what Im I supposed to do with the cookie and how should I use it to retrieve loged user data (like the name) .

Didn’t find any documentation for that, regards!

well, cookie is not reflecting anything besides the fact that you have an okta session. But you can use it to do a call to /api/v1/users/me ( to get the information about the logged in user

1 Like

thanks! It’s just what I was looking for.