-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
any plan for a new major release? #378
Comments
Hi! No immediate plans for a new major - but just because we haven't seen any need yet.
You think some should be removed? What would be the motivation for that?
Can you explain this a bit further? I'm not familiar with what oauth2-client does for this :). Cheers! |
Hi @weaverryan I was thinking to follow the same idea as oauth2-client, if you check the providers source it doesn't implement all possible providers. it just depends one interface and that is it! IMO we should do something like this. my idea is create a repository with the interfaces that we need and the providers can create a new client to follow the interface or just implement the interface that! if we do it, we don't need to add a lot of providers in our code base! |
For example was is the basics fields that is needed to make this bundle works? firstName, lastName and Email? if yes then we could create interfaces for this and for providers support this bundle needs to implement those interfaces |
Ah, I think I understand. The idea behind this bundle was actually to purposefully put the small amount of "provider glue code" inside of this repository to make everyone's live easier. I think you're proposing a structure that would have the following libraries (using facebook as an example): A) If that's accurate, I think it's more realistic to maintain one bundle (this one) that has all of that "glue code" inside of it. If we don't provide that glue code, in reality, people will not create entire separate libraries to implement that part. If you mean that libraries like Cheers! |
the after we have an interface in common we can depends just of this interface! |
because the biggest problem is, the providers doesn't return a common interface with firstName, lastName and Email (maybe with ImagePath as optional), and I tried to suggest it there, But anyone answer me :'( thephpleague/oauth2-client#958 then an a second possible solution is, create this small repository with those interfaces and the providers that return it, can be supported by this bundle. |
@weaverryan what do you think? should we invest time on that, or let's keep as it's? |
Hi!
That would need to be something done in coordination with with oauth2-cilent itself, I think. If someone external creates this repository, I don't think they will integrate with it.
If there is something that can be done in this repo, without creating an external repo or needing up-stream libraries like oauth2-facebook to do something, I'm open to it :). But I'm not sure that's what you're proposing. |
Yeah it's true :/ |
I was wondering if someone planned to release a new major to not keep all providers into the code base:
https://github.com/knpuniversity/oauth2-client-bundle/tree/master/src/Client/Provider
we could do something like
oauth2-client
does!provide an interface and each provider implement that!
The text was updated successfully, but these errors were encountered: