Repository navigation
Add client_id to device flow configuration - #2
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR fixes device-flow authentication discovery by exposing the client_id in the /_emdash/.well-known/auth response so CLI/device-flow consumers can reliably use the canonical client identifier.
Changes:
- Add
client_id: "emdash-cli"to theauth.methods.device_flowdiscovery payload.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
ascorbic
added a commit
that referenced
this pull request
Apr 11, 2026
* Add OG Image field to content editor The `_emdash_seo` table and content API already support `seo_image`, but the admin UI had no way to set it. This adds: - `SeoImageField` component using the existing `MediaPickerModal` - 2-column grid layout placing the OG Image next to the Featured Image - `description` prop on `ImageFieldRenderer` for helper text below images - Preserve `seo.image` in `SeoPanel.emitChange` so sidebar edits don't clear the image Closes emdash-cms#327 Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> * style: format * Add changeset and fix stale seo.image in SeoPanel - Add changeset for @emdash-cms/admin patch release - Remove image from SeoPanel.emitChange to avoid overwriting a freshly-selected OG image with a stale prop value Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> * Address review feedback on OG Image field - Fix #1: Use @phosphor-icons/react instead of lucide-react - Fix #2: Send minimal patch { image } instead of spreading stale seo props - Fix emdash-cms#3: Only show OG Image next to the featured_image field, not all image fields - Fix emdash-cms#4: Only add description text for the featured_image field - Fix emdash-cms#5: Add responsive breakpoint (grid-cols-1 md:grid-cols-2) Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> * style: format --------- Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]> Co-authored-by: emdashbot[bot] <emdashbot[bot]@users.noreply.github.com> Co-authored-by: Matt Kane <[email protected]>
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.
fix: expose client_id in device flow discovery response
The auth discovery endpoint was missing client_id from the device_flow
object, causing GitHub device flow to fail. The CLI already used
"emdash-cli" as a hardcoded fallback; this makes it the canonical
advertised value.
Fixes emdash-cms#157