K
K
kapai692014-04-26 17:43:01
symfony
kapai69, 2014-04-26 17:43:01

Symfony 2 user authorization

I am using HWIOAuthBundle. When authorizing through VK, the user receives the ROLE_USER role, but in the profile he appears as not authenticated.
511510b38bb441e9bd1d2b69ff54b81e.png
This is a big security hole and how can it be fixed?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2014-04-29
@morontt

Most likely, the problem is in the serialize and unserialize methods in the user entity. You can’t say more precisely here, because the code is not visible.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question