phly-expressive-oauth2clientauthentication is a really handy library to authenticate against oauth2 providers. However, it’s currently limited to using only officially maintained providers from the League OAuth2 Client project, namely: Facebook, GitHub, Google, Instagram and LinkedIn.
I would like to be able to use other third party providers or my own custom one with this library so I don’t have to create my own Adapter implementation. My suggestion is that the library continues to recommend officially supported providers but somehow offers the option of registering others.
My use case is that I have a Expressive Oauth2 server using zend-expressive-authentication-oauth2 that I have created a provider for using the conventions for third party providers of league/oauth2-client. And I have a Expressive client app that I want to use phly-expressive-oauth2clientauthentication in.
What do you guys think would be the best way of achieving this?
I would like to see the project continue to be actively maintained and I am happy to contribute if I can.