
VinodhM.45873 (Customer) asked a question.
Post successful login, we want to record an action for the users that should be fully asynchronous. We decided to use an eventhook that calls into one of our API endpoints post a successful user login. The event type we are targeting is "user.session.start" (User login to Okta). We need two pieces of information to successfully complete this action - User's email address and Client Credentials Client Id. The email address of the user is present in the eventhook request. However, the application (Client Credentials) client id is missing even though the user is logging in to a specific application. How to get the application client id as a part of this event hook request, so we can successfully complete the post login action for the user?

Hello @VinodhM.45873 (Customer).
Please check the following link with information: https://developer.okta.com/docs/guides/implement-grant-type/clientcreds/main/
Also, feel free to post this question on our Okta Developer Forums: https://devforum.okta.com,
and they should be able to help you with this.
Regards,
Natalia
Okta Inc.
Hello Natalia,
Thanks for the response. But the link that you provided is about configuring client credential grant. My question is about receiving the client id in the request object that Okta passes to our API when an eventhook call gets executed after a successful user login.
As suggested, I will try this question in the Okta Dev forum.
Thanks,
Vinodh