I'm looking at using discourse which uses omniauth for authentication. I need this to integrate with my current user base (where the currently auth either via email or facebook). One possiblity is to create a custom omniauth strategy (like https://github.com/intridea/omniauth-oauth2). I would be making some tweaks to the discourse code but would I need to implement my current app as Oauth2 provider? Or is there a simpler solution to this?
I know this is a bit open-ended; I guess I'm looking at the easiest way to add discourse to this app and have a million other things going on right now so very focused on the fastest for what seems like a fairly simple use case.
thx