Closed shohey1226 closed 10 years ago
Flow for the Login
Server check session and return information in the session if available.
// if available {logged_in => 1, id => 1, image_url => 'http://...', screen_name => 'kamepaca' } // if not available {logged_in => 0 }
Flow for the Login (handling database)
This is completed. after login, it moves to '/'
/api/v1/login-info
Query from page and obtain,
1 The user is logged in or not via session
I think we should refresh user_name and user face pic every time user sign in.