What hook do I need?

I want to catch when a user logs in/is authenticated and whether or not that user has access to the application (as you can be authenticated but not authorized for an application).

I have asked around and it appears that hooks are the way to go, so I found the event user.session.start here:

But that seems to give me no more information than the widget and/or http response.

  • Is there an event that will fire or carry the information of when a user is authenticated, but denied access to an application? Thank you.


If you are using Okta Widget like the Sign In Widget, there is a function called afterError that can be used to handle errors so in that case Hooks won’t be needed.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.