I integrate IBM APP ID in my project in local,after login succeed, when I try to log out use the following code as same as demo
app.get("/logout", function(req, res, next) {
WebAppStrategy.logout(req);
res.redirect("/");
});
nodejs show the request is successfully send but chrome console show the following error message:
- Failed to load [appid-auth-url] No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access.
appid-auth-url is provided by IBM, can't be set cors.