phanan / vue-facebook-signin-button

A simple plugin to include a custom Facebook sign-in button into your web app.
137 stars 30 forks source link

Would you add a state parameter? #6

Open volkanozyilmaz opened 6 years ago

volkanozyilmaz commented 6 years ago

Hi @phanan ,

According to facebook security doc, we make strong our security if we use state parameter. Do you have any plan to add that speciality to the lib? We can generate a random string to pass your lib and when there is an answer from FB, we can check that if we really send that request.

Or, do you have any advise to put state parameter to the request link?

https://developers.facebook.com/docs/facebook-login/security#stateparam