Skip to content

facebook login works only at 2nd time. #2360

Open
@RonAlmog

Description

@RonAlmog
  • I understand that GitHub issues are not for tech support, but for questions specific to this generator, bug reports, and feature requests.
Item Version
generator-angular-fullstack 3.7.5
Node 6.2
npm 3.9.2
Operating System Windows 10
etc etc
Item Answer
Transpiler Babel
Markup HTML
DB MongoDB
Auth N
etc etc

i'm working on enabling the users to login using facebook auth. currently this is what happens:
at the login page, when you hit 'connect with facebook'. it brings the facebook login page,
you enter your user/pass, and it takes you back to our login page as if nothing happened.
the server method was hit, i see data coming from facebook, and a record is created in 'users'.
but we are not logged in.
then you try the second time. now it works, and you are logged in with your facebook name.

what can it be? any directions to look?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions