Use code buckets based on authenticated user data
Hi! I was wondering if anyone had a solution for an issue we are encountering. We would like to use different code buckets based on the authenticated users type. The recommended way of having different domains for different code buckets just doesn't work for us as the session does not get shared between them, or at least we cannot find a way to do that. Any assistance would be greatly appreciated.
Answers
-
Sorry to disappoint you, but it's not possible change code-bucket on a such late stage, as after authentication of a user.
I may suggest you to implement strategy plugins, selecting correct one based on the authenticated user type, and so the plugin will call needed piece code. This is the final goal with code bucket as well, although you have to add resolving yourself.
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 92 Spryker News
- 1K Developer Corner
- 855 Spryker Development
- 93 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 36 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 35 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 34 Product & Business Questions
- 70 Spryker Safari Questions
- 51 Random
