Skip to content

v4 API#652

Merged
n7studios merged 188 commits intomainfrom
v4-api-oauth
Jul 9, 2024
Merged

v4 API#652
n7studios merged 188 commits intomainfrom
v4-api-oauth

Conversation

@n7studios
Copy link
Copy Markdown
Contributor

@n7studios n7studios commented Apr 23, 2024

Summary

Replaces the API Key and Secret fields with the OAuth flow using the v4 API at Settings > ConvertKit, using the v4 API library implementation for API requests.

Before:
Screenshot 2024-05-13 at 10 18 07

After:
Screenshot 2024-05-13 at 10 19 13

Screenshot 2024-05-13 at 10 16 45

Video:
https://www.loom.com/share/e5f412bbf9954bb6bbd8ad367a4ce20f?sid=2cd70890-aadb-4faf-9d1b-bc0d8ae2e804

Testing

Some tests will currently fail due to changes in the UI for OAuth, Setup Wizard and Legacy Forms / Landing Pages.

Further PR's submitted for ease of review to cover these separately:

With those PR's merged, tests here must then pass.

Checklist

@n7studios n7studios added this to the 2.5.0 milestone Apr 23, 2024
@n7studios n7studios self-assigned this Apr 23, 2024
This ensures we don’t save tokens from another Plugin that uses a different client ID.
…lient-id

v4 API: Refresh Tokens: Check Client ID
…egacy-form

v4 API: Support Adding Subscribers to Legacy Forms
@n7studios n7studios changed the title v4 API: Use OAuth instead of API Key and Secret v4 API Jun 13, 2024
n7studios added 21 commits June 14, 2024 09:11
…i' into v4-api-oauth-setup-wizard

# Conflicts:
#	admin/setup-wizard/class-convertkit-admin-setup-wizard-plugin.php
#	composer.json
# Conflicts:
#	includes/class-convertkit-ajax.php
#	includes/class-convertkit-setup.php
#	tests/acceptance/tags/PageTagCest.php
#	wp-convertkit.php
…dynamic-redirect-uri

# Conflicts:
#	includes/class-convertkit-ajax.php
v4 API: Use ConvertKit-hosted redirect URI
@n7studios n7studios merged commit 268f239 into main Jul 9, 2024
@n7studios n7studios deleted the v4-api-oauth branch July 12, 2024 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants