Developer forum

Forum » CMS - Standard features » DW 9.13.2 - Impersonating a user without a user name triggers DWN_STANDARD_USER_OnExtranetLogin on each page load

DW 9.13.2 - Impersonating a user without a user name triggers DWN_STANDARD_USER_OnExtranetLogin on each page load

Roald Haahr
Reply

The situation is as follows

On a website running Rapido we have imported users fra Navision. As not all users in Navision have been assigned e-mail addresses, these users are created in DW without a user name with a 'User provider' data integration job. Now some of these users should be impersonatable.

On the website there is a notification subscriber subscribing to DWN_STANDARD_USER_OnExtranetLogin, whose job it is to redirect a user to their dashboard upon login. However, when impersonating a user without a user name, it triggers the notification subscriber on each page load, making it more or less impossible to use the site as the user is constantly redirected to the dashboard.

So my request is, that it should be possible to impersonate users without a user name without DWN_STANDARD_USER_OnExtranetLogin being fired on each page load. Please try to recreate and let me know, if I can expect this to be fixed.

Kind regards,
Roald


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi

That would probably require some too risky rewrite of authentication in Dynamicweb which we cannot do right now.

You could run a post integration schedule that would move email or id or something else into the username field to work around this issue.

BR Nicolai

Votes for this answer: 1
 
Roald Haahr
Reply

Hi Nicolai,

Alright, I'll look into that - thanks.

Kind regards,
Roald

 

You must be logged in to post in the forum