Laravel Bundle OneAuth Compatible with Sentry

My team and I (the business / idea guy) are developing a new Startup using the Laravel framework. I am not a technical guy, but I want to study as much as possible.

We started by installing and using the Sentry Bundle, and then added the OneAuth package to log in to Facebook; however, we continued to get errors.

Is OneAuth compatible with Sentry?
Sentry is coming out with socialplugin soon. Should we just wait for it or how to do it?

+4
source share
1 answer

By OneAuth, the problem is right now: Sentry does not use the Laravel Auth driver to authenticate the user, which makes integration difficult. Two ways to solve this problem:

  • Convert all Auths called in OneAuth to use Laravel \ IoC, this will require Sentry to register IoC on their side.
  • Sentry to add an adapter class (extends Laravel \ Auth \ Drivers \ Driver)

In any case, some work should be done on the Sentry side, I am open to a decision if they want to use OneAuth as their social plugin.

+4
source

All Articles