Skip to content
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

Added unsubscribe_url to member api response #21207

Merged
merged 24 commits into from
Oct 16, 2024
Merged

Conversation

9larsons
Copy link
Contributor

@9larsons 9larsons commented Oct 3, 2024

no ref
- utilizing integrations like Zapier to feed email campaigns results in the inability to one click unsubscribe due to the key validation

By exposing the unsubscribe key (or we could do the full link), we can provide a one-click unsubscribe for users integrating with services outside of Ghost, eg. ActiveCampaign, for sending emails.
@9larsons 9larsons requested a review from allouis October 3, 2024 15:38
@9larsons
Copy link
Contributor Author

#21325 this should pull out the changes in c46e072.

@9larsons 9larsons merged commit 63f25ec into main Oct 16, 2024
21 checks passed
@9larsons 9larsons deleted the add-unsubscribe-key-member branch October 16, 2024 19:00
cmraible pushed a commit to cmraible/Ghost that referenced this pull request Oct 16, 2024
ref https://linear.app/tryghost/issue/ONC-387/

With some recent changes, we added validation to unsubscribe URLs to verify the source, allowing us to cut down on spam and improving security, as the underlying key could be re-generated should the need arise. This had the side effect of making unsubscribe URLs difficult to reconstruct when using third-party/downstream integrations, such as ActiveCampaign, which fills a gap in the current Ghost feature set.

Now any authenticated query to `/api/members` will return an `unsubscribe_url` field that can be used directly.
dvdwinden pushed a commit that referenced this pull request Oct 24, 2024
ref https://linear.app/tryghost/issue/ONC-387/

With some recent changes, we added validation to unsubscribe URLs to verify the source, allowing us to cut down on spam and improving security, as the underlying key could be re-generated should the need arise. This had the side effect of making unsubscribe URLs difficult to reconstruct when using third-party/downstream integrations, such as ActiveCampaign, which fills a gap in the current Ghost feature set.

Now any authenticated query to `/api/members` will return an `unsubscribe_url` field that can be used directly.
tilak999 pushed a commit to tilak999/ghost that referenced this pull request Nov 20, 2024
ref https://linear.app/tryghost/issue/ONC-387/

With some recent changes, we added validation to unsubscribe URLs to verify the source, allowing us to cut down on spam and improving security, as the underlying key could be re-generated should the need arise. This had the side effect of making unsubscribe URLs difficult to reconstruct when using third-party/downstream integrations, such as ActiveCampaign, which fills a gap in the current Ghost feature set.

Now any authenticated query to `/api/members` will return an `unsubscribe_url` field that can be used directly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant