[eluser]imcl[/eluser]
got it -- after entering a unique username and email I can access my website without problems -- awesome code eric! many thanks for sharing.
i wonder how we could streamline this a bit more, a la stack overflow login.
so the idea would be to enter the site immediately after accepting the app -- as you mentioned a unique & temporary username would need to be generated.
how would you retrieve the name/lastname for facebook or google? would this require changing the JS on the login page?
PS:
not sure if it's relevant, but I capitalized the first letters of the class in your controller & models.