Plugin API - Cookie Not Setting
Hello,
I am having an issue where the cookie for OAuth2 authentication is not setting in the browser, this is in a production environment. Here is my config:
I have also set
NODE_ENV="production" in my .env file to ensure the Secure cookie. Upon making a request to https://api.revelations.gg/oauth/callback, I can see a Set-Cookie header is indeed returned but it's not setting in the browser.1 Reply
Nevermind, I have resolved this issue myself
For anybody else who may have a similar issue, make sure to do
credentials: "include" in your frontend when making a request to /oauth/callback in your API