Hi.
We've developed an app and the customer would like to impersonate users, like they can on their DW shop.
Is this possible through the Web API?
Hi.
We've developed an app and the customer would like to impersonate users, like they can on their DW shop.
Is this possible through the Web API?
+1
+1
+1
+1
Hi DW. Are there any news regarding this question?
Yes - it is in progress.
You get an endpoint to get a list of users that a given user can impersonate (/impersonatees) using the current logged in JWT token.
From that list you get a list of users - you can then call /impersonate with a userid that will impersonate (if your current JWT token allows impersonation of that userid) - it does the same as /authenticate. Then you basically have 2 JWT tokens that you can switch between when calling the webapi.
Do you need an overload of /impersonate to take i.e. a username or an email together with a shopid as another ?
BR Nicolai
Hi Nicolai.
That sounds great. Just what we need!
I can't think of a scenario where we need an overload of such. The /impersonate endpoint should do the trick.
Looking forward to see this in action.
Hi Nicolai.
Are there any news on this feature?
Added and merged on the 22/9...
Arhg - it is not merged into production branch!
I have asked to get it merged right away.
Looks like this:
That's perfect Nicolai!
You must be logged in to post in the forum