Currently I can see (at least) three ways to authenticate to a Flarum instance using OAuth 2 (specifically using Google's OAuth API):
- Using the Google OAuth flarum extension (https://github.com/johnhearfield/flarum-ext-oauth-google)
- Using the passport extension (https://github.com/flagrow/passport)
- Merging the changes in the oauth2 pull-request (https://github.com/flarum/core/pull/1388) into core
I'm wondering whether these methods are all "compatible", in the sense that if I configure OAuth 2 authentication with method A, that switching to method B (and properly configuring it) will allow all users who previously created accounts using method A can still log-in using method B?
I am also wondering if one of the methods is preferable in comparison with the others. Thanks for any thoughts on this!