feat: drop pre-registered OAuth client ID now that DCR supports Cursor - #5
Open
alexisb24 wants to merge 1 commit into
Open
feat: drop pre-registered OAuth client ID now that DCR supports Cursor#5alexisb24 wants to merge 1 commit into
alexisb24 wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Lovable's OAuth server now supports dynamic client registration, and lovablelabs/lovable#87538 allowlists Cursor's two OAuth callbacks (
cursor://anysphere.cursor-mcp/oauth/callbackfor the IDE,https://www.cursor.com/agents/mcp/oauth/callbackfor cloud agents / the CLI) in open DCR. With that live, Cursor connects with plain OAuth like any other client and the pre-registeredCLIENT_IDworkaround is no longer needed.Changes:
plugins/lovable/mcp.json— drop theauth.CLIENT_IDblock; the?src=cursor-pluginchannel tag stays.plugins/lovable/README.md— same for the manual-setup snippet.plugins/lovable/.cursor-plugin/plugin.json— version bump to 0.1.1.plugins/lovable/CHANGELOG.md— 0.1.1 entry.Merge gating
Do not merge or re-publish the marketplace listing until lovablelabs/lovable#87538 has merged and the OAuth server deploy is live — before that, DCR still rejects Cursor's redirect URIs and a client-id-less config fails to authenticate. After deploy, verify with a fresh Cursor install that adding the server without the
authblock completes the browser OAuth flow.Existing installs are unaffected either way: the legacy client id
6d465f583e1e4ce5801b1616f735670cstays registered and keeps working.Lovable project: https://lovable.dev/projects/1e858a99-305e-41b0-b9d2-e8f1e6012c0b