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).
renditionDownload

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.

Hi,

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.