Facebook Authorization on Rails app: why do we need to do Both server and client side authorization?

The short answer is - you don't. You can choose between client side login (via javascript SDK ) and server side login using omniauth . The disadventage of server-side login is overloading the server for a call you can do from the client.

The advantage is that usually the token is longer (3 months token and not 1-2 hours like client side). I suggest combine the two . Use the client side for initial login, once you do that have an async call from the server side for extended token (only if you have to).

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions