Ugurkan Kaya
Ugurkan Kaya
I think i will try to implement this and may start today working on it
My ideas so far: I am currently thinking if it would make more sense to use acl `api_proxy_switch-customer` for checking access in the proxy method or introducing a new one....
I have opened a new pull request, since i have accidentally destroyed my changes so github was not showing changed files. Old PR: [https://github.com/shopware/platform/pull/2701](https://github.com/shopware/platform/pull/2701)
@keulinho I do not see any security issue since i am validating the token in the storefront, so just guessing the customerId would not be enough. If we move the...
I think i found the solution about admin auth in storefront by using `_routeScope => 'api' ` it seems working :)
> @ugurkankya I hope that you don't mind that I've continued your work and opened #3713 Thank you for your help i really appreciate it
@sobyte Looks good to me thanks
@shyim Can you have a look at this? Would be happy to see this merged :100:
> We can pass the userId from the initial request to the final CustomerLoginEvent. In the CustomerLoginEvent & CustomerBeforeLoginEvent we can add a new: `?string $userId = null` Adding `$userId`...
@akf-bw this pr looks awesome did you also add an test case for impersonation with an expired token?