Facebook Single Sign-On

Salut!

I have been wondering on the best way to include Facebook Login as authentication method for sign up/sign in.

The thing is, I have seen that Fab Manager already includes code to handle OAuth strategies with OmniAuth, but I have found that the integration with Facebook can be managed through the omniauth-facebook gem.

Has anyone already implemented this? Which way did you go?

Hi @akaiiro,

the current SSO implementation is designed to provide an exclusive external authentication provider (ie. it completely disables the user/password authentication method with local accounts).
If this matches you needs, you can simply configure facebook as an authentication provider. Instructions can be deducted from this documentation page.

Regards,

Thanks, @Sylvain.

Then I’ll try to get it running with the onmiauth-facebook gem to keep both authentication methods working.

Good luck with that ! :wink: