Skip to content

Token was deauthenticated Error Symfony 4 #10151

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

Closed
wants to merge 4 commits into from

Conversation

walterwhites
Copy link

No description provided.

We should no long used Serializable interface in Symfony 4 it's caused error when you log with a user 'Token was deauthenticated after trying to refresh it'
we should use EquatableInterface and isEqualTo method
@walterwhites walterwhites changed the title Patch 1 Token was deauthenticated Error Symfony 4 Aug 4, 2018
@weaverryan
Copy link
Member

Hey @walterwhites!

Thanks for the PR! Can you tell me what motivated you to make this PR? The problem is that EquatableInterface is an annoying, internal detail that most users shouldn't need to think about. So, I don't want to burden them with it. I'd love to know your motivation, to see if we can find the right place for this.

Cheers!

@javiereguiluz
Copy link
Member

@walterwhites we appreciate your contribution, but as Ryan said, we want to minimize the presence of EquatableInterface in the docs because it's something most people will never need. In #10423 we're refactoring all the security docs, so I propose to close this pull request and after the other one is merged, we can rethink if we should add this. Thanks!

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

Successfully merging this pull request may close these issues.

4 participants