Missing audit logs after user redirect in post-login action

Hello Auth0,

I’m creating a post-login action that after successful login based on some condition may redirect the user to another page where the user will update his profile with the new password.

After the user completes that page, he is then redirected back to the application login page to re-login, but not to the Auth0’s /continue endpoint, so the onContinuePostLogin function in the action is not called.

The first successful login attempt is not reflected in audit logs in the Auth0 Dashboard - logs do not contain a record of the user who successfully logged into the application/client. The action execution logs are not available as well, as not audit record is available. Is this a known issue/limitation with redirects in a post-login action?

Is calling back the /continue endpoint is mandatory?

Thanks

Hi @yuriy.maftiyak

Welcome to the Auth0 Community!

In the post-login action, if you redirect your user, you need to send the user back to the /continue endpoint, if you won’t redirect Auth0 will lose the context of the login transaction and the user will not be able to login do to an invalid_request error.

Thanks
Dawid

1 Like

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