AxeWP / wp-graphql-headless-login

A WordPress plugin that provides Headless login and authentication for WPGraphQL, supporting traditional passwords, OAuth2/OpenID Connect, JWT, and more.
GNU General Public License v3.0
72 stars 11 forks source link

Add tests for OAuth2 - Generic Client mutations #8

Closed justlevine closed 1 year ago

justlevine commented 1 year ago

What problem does this address?

..

What is your proposed solution?

..

What alternatives have you considered?

No response

Additional Context

There's a lot of possibilities to mock (and possibly bugs to flesh out).

See https://github.com/thephpleague/oauth2-client/blob/master/test/src/Provider/GenericProviderTest.php for an example.