You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear All I am using github login for my react.js application with passport github2 strategy My React.js app is running on port 3000
and the Node.js server is running on port 5000
This is error I am getting when I try to login with github, please see the screenshot
Access to XMLHttpRequest at 'https://github.com/login/oauth/authorize?response_type=code&redirect_uri=http%3A%2F%2FXX.XX.71.24%3A5000%2Fapi%2Fv1%2Fauth%2Fgithub%2Fcallback&scope=user%3Aemail&client_id=f34f1df531540449d402' (redirected from 'http://XX.XX.71.24:3000/api/v1/auth/github') from origin 'http://XX.XX.71.24:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
CORS is enabled on my server as other endpoints are working fine
Here is the CORS settings
this my github app setting
The text was updated successfully, but these errors were encountered:
Dear All I am using github login for my react.js application with passport github2 strategy
My React.js app is running on port 3000
and the Node.js server is running on port 5000
This is error I am getting when I try to login with github, please see the screenshot
Access to XMLHttpRequest at 'https://github.com/login/oauth/authorize?response_type=code&redirect_uri=http%3A%2F%2FXX.XX.71.24%3A5000%2Fapi%2Fv1%2Fauth%2Fgithub%2Fcallback&scope=user%3Aemail&client_id=f34f1df531540449d402' (redirected from 'http://XX.XX.71.24:3000/api/v1/auth/github') from origin 'http://XX.XX.71.24:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
CORS is enabled on my server as other endpoints are working fine
Here is the CORS settings
this my github app setting
The text was updated successfully, but these errors were encountered: