Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Unable to use updated config object when using Laravel Octane #639

Merged
merged 1 commit into from
May 29, 2023

Conversation

aprokopenko
Copy link
Contributor

Fixing the issue described here: #638

Short summary:

Octane reset SocialiteManager on each request and assign new $container object to it. However, SocialiteManager is already booted and has $this->config property, which was loaded at the very beginning from previous requests and this object stays the same and contain outdated data.

Copy link
Member

@nunomaduro nunomaduro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets wait for Taylor's opinion. However, in my opinion, the configuration of an Laravel project should never change during the request lifecycle.

@taylorotwell taylorotwell merged commit 8789ccb into laravel:5.x May 29, 2023
@aprokopenko
Copy link
Contributor Author

Thanks for a quick merge. When could I expect for the next release of this package?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants