You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, the SDK currently provides a single Gaurd interface, which handles all of the state management for both stateful (authentication/session-based) and stateless (authorization/access token-based) requests.
Improvements
While this offers a simplified integration experience, it can introduce complications for Laravel applications that need to handle traffic for both of these use types simultaneously. Without distinct Guards, you must work around the limitations of having one SDK configuration and a single, multipurpose guard by using event hooks.
Our goal for the next major release will be to offer distinct and independent guards for each type of request scenario, which can be used side by side, to handle different types of requests within a host application simultaneously.
Blockers
This will not be possible until the next major of the new underlying PHP SDK is released, as there are technical limitations imposed on our Laravel implementation that must be resolved upstream before we can properly implement that feature here.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
At the moment, the SDK currently provides a single Gaurd interface, which handles all of the state management for both stateful (authentication/session-based) and stateless (authorization/access token-based) requests.
Improvements
While this offers a simplified integration experience, it can introduce complications for Laravel applications that need to handle traffic for both of these use types simultaneously. Without distinct Guards, you must work around the limitations of having one SDK configuration and a single, multipurpose guard by using event hooks.
Our goal for the next major release will be to offer distinct and independent guards for each type of request scenario, which can be used side by side, to handle different types of requests within a host application simultaneously.
Blockers
This will not be possible until the next major of the new underlying PHP SDK is released, as there are technical limitations imposed on our Laravel implementation that must be resolved upstream before we can properly implement that feature here.
Beta Was this translation helpful? Give feedback.
All reactions