Added overridable methods for returing authz and token endpoints.#1
Added overridable methods for returing authz and token endpoints.#1alexdutton wants to merge 2 commits intobtilly:masterfrom
Conversation
|
Please add documentation, and yourself to the Authors in whatever way On Fri, Dec 13, 2013 at 9:39 AM, Alexander Dutton
|
|
I don't think I need to add any documentation as this adds functionality that was already documented — |
|
I also hit this bug, and implemented the exact same solution as alexsdutton, before I checked here and found that the bug is already fixed. Please merge and release, so I can remove the ugly monkey-patch I currently have to use! |
|
I've applied your patches to my fork of LWP-Authen-OAuth2 and released a new version 0.08 to CPAN (Ben made me maintainer..) |
Previously the base
ServiceProviderclass didn't provide a defaultauthorization_endpoint()andtoken_endpoint()implementation, and so always required the use of a sub-class (and ignoring the values passed to theOAuth2constructor.