Skip to content

Marketo Integration - Incorrect "Connect" URL in Provider tab #2718

@mscherr-fastspot

Description

@mscherr-fastspot

Describe the bug

The Marketo Integration fails to properly connect following the official documentation here:

https://verbb.io/craft-plugins/formie/docs/integrations/crm#marketo

Image

I removed the URL in the Redirect URI in the screenshot above for privacy

Image

Plugging in the requested fields, the "Connect" link creates the following incorrect skeleton:

[FORMIE_MARKETO_CLIENT_DOMAIN]/identity/oauth/authorize?state=[state]&scope=&response_type=code&approval_prompt=auto&redirect_uri=[SITE_URL]/formie/integrations/callback&client_id=[FORMIE_MARKETO_CLIENT_ID]

After speaking with Marketo support, they let me know this is the correct URL to get a bearer token from their API:

[FORMIE_MARKETO_CLIENT_DOMAIN]/identity/oauth/token?grant_type=client_credentials&client_id=[FORMIE_MARKETO_CLIENT_ID]&client_secret=[FORMIE_MARKETO_CLIENT_SECRET]

I am unsure if Marketo changed their API, or released a new version. I appreciate any help.

Steps to reproduce

  1. Follow the steps outlined here for Marketo: https://verbb.io/craft-plugins/formie/docs/integrations/crm#marketo
  2. Click the "Connect" button in the "Provider" tab
  3. Observe the connection does not work

Form settings

  • Multi-page form: N/A
  • Submission Method: N/A
  • Client-side Validation: N/A
  • Custom Form Templates: N/A

Craft CMS version

5.8.23

Plugin version

3.1.10

Multi-site?

No

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions