Redirect link after create user account is not working

We are working on a custom log in, and have some trouble with the redirect link after creating new users.

The setup:

We have an unauthenticated app that is used for log in and for creating new users.

In our action for creating a new user, we use the Create User Account action node, and have set the Login Link Redirect Path to our desired redirect link in this format: axo-insurance-mypage/user-created?country=DK , with axo-insurance-mypage being the appname.

The link is referenced like this in the body template: {{resetLink}}

The issue:

When we click the link in the email, instead of going to the subpage “user-created”, it goes to axo-insurance-mypage?country=DK

In the client log, we see that initially the action that is set on load app is run, and then afterwards an action that is set to run on load view of the app’s default view is run.

What could be the cause of this? Do you have any tips on how and what to debug? We have checked that the redirect link is valid and works by adding the subpage manually in the browser.

Any help is appreciated! :slight_smile:

Hi Guro, and thanks for reaching out to the community!

Im sure you have checked this, but the path for the redirect link must start at the domain root, for example: /READABLE_ID/VIEW_NAME/SUBVIEW_NAME?URL_PARAM=value

I would start by looking at what the link in the e-mail looks like (right click → copy link address from the link in the e-mail), and then have a look at the actions that are run on app and view load. A usual pattern in many solutions is to perform a check for a URL param on app load or something similar, could there be a node somewhere that is clearing the sub view?

Please let me know what you find, and will try to help you investigate this further!