Good afternoon! I'm not very good at js, I ran into dynamic VK authorization. I can not correctly set the path after receiving the data. Checked on sites, wrote the wrong syntax. Help me please.
VK.Widgets.Auth ("vk_auth", {width: "200px", onAuth: function (data) {location = 'http: //ctfdev.ru? Id_vk =' + data ['uid'] + '& name =' + data ['first_name'] + '& last_name =' + data ['last_name'] + '& photo_big =' + data ['photo'] + '& photo_mini =' + data ['uid'] + '& hash =' + data ['hash'] ';}});