Send custom parameters using loginWithRedirect to onExecutePostLogin action

Hi folks,

I need to send custom parameters when users log in via loginWithRedirect to make a backend call from our custom onExecutePostLogin, but I could not find a way to do that.

Is that use case supported?
If so, how can It be implemented?

Thanks in advance

Hi @M0vio5GVGU,

Welcome to the Auth0 Community!

You should be able to get the query parameters from the login request in a Post-Login Action by calling event.request.query.

This should include all of your query parameters in the /authorize request.

Does that help?


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