Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Callback authenticate does invoke the token URL #4

Open
bhavyaswork opened this issue Jul 12, 2022 · 0 comments
Open

Callback authenticate does invoke the token URL #4

bhavyaswork opened this issue Jul 12, 2022 · 0 comments

Comments

@bhavyaswork
Copy link

Hi,

We are facing a weird issue , the first authenticate reaches Ping IDP and reaches our call-back function with the code from Ping.

But in my call-back function as below, does not trigger a request to Ping to fetch Token, Can someone please help with this please.

const pingCallBack = (req, res) => {
console.log("req Ping pingCallBack ", req);
logger.info(
${JSON.stringify( severity="INFO" , serviceName="Ping Login CallBack URL Received" , requestURI= ${JSON.stringify(
req
)} )}
);
return passport.authenticate("ping", {
successRedirect: CLIENT_URL,
failureRedirect: "/login/failed",
});
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant