Hi @arup.sarkar,
Thank you for your response.
The Post-Login Action will execute for every application unless you specify something like the following in your script:
exports.onExecutePostLogin = async (event, api) => {
if (event.client.client_id === 'YOUR_CLIENT_ID_HERE'){
...
}
};
After looking at the screenshot of your code snippet, I would highly encourage you to make your clientId
value a secret. It’s typically not a good idea to expose the client ID because it could have security implications.
Please let me know if you have any other questions, I’d be happy to help.
Thank you.