Skip to content

docs: runnable desktop and CLI examples for native OIDC sign-in #137

Closed

Description

@Bccorb

Why

Desktop apps, CLIs and developer tools are a common way to use an identity platform, and the easiest place to get sign-in wrong: an embedded webview that captures passwords, a client secret shipped in the binary, tokens in a plain file, or passkeys tried inside a webview where the origin cannot match the relying party. Once the OpenID Provider (fells-code/seamless-auth-api#387) and native public clients (fells-code/seamless-auth-api#508) exist, adopters need one page that shows the right way.

What

Done when

The guide and a runnable example are published and kept running in CI. The example is a desktop app and a small backend API: the app signs in with a passkey through the system browser against a local Seamless Auth instance, the backend verifies its access token with a verify-only adapter, one backend route answers the RFC 9470 challenge until the user steps up, and the backend sends a notice through a client link. Nothing in it is specific to one product. Design: fells-code/seamless-auth-api ADR 0002, N9 and N11 (fells-code/seamless-auth-api#550). The client-side rules, redirects, CLI and device flow already shipped in the native apps guide (#147).

Activity

  1. added this to the v0.21 milestone on Oct 29, 2026
  2. added
    documentation
    P1
    v0.21
    on Oct 29, 2026
  3. Bccorb commented on Nov 1, 2026

    @Bccorb
    ContributorAuthor

    The guide shipped in v0.21 (https://docs.seamlessauth.com/build/native-apps-oidc, docs#147), covering loopback and private-use redirects, PKCE, credential stores, refresh, revocation, API tokens, the device grant and why passkeys run on the hosted page. The runnable desktop example (Tauri or Electron) and a CLI example kept runnable in CI are not built. Moving to v0.22 with the scope reduced to those examples.

  4. added
    v0.22
    and removed
    v0.21
    on Nov 1, 2026
  5. changed the title [-]docs: sign-in for native, desktop and CLI apps with OIDC (RFC 8252)[/-] [+]docs: runnable desktop and CLI examples for native OIDC sign-in[/+] on Nov 1, 2026
  6. added
    v0.23
    and removed
    v0.22
    on Nov 2, 2026
  7. modified the milestones: v0.21, v0.23 on Nov 2, 2026
  8. Bccorb commented on Nov 9, 2026

    @Bccorb
    ContributorAuthor

    Not closed yet. Moved onto the published API v0.23.0 and edge v0.4.0 images (fells-code/seamless-auth-oidc-provider#67 and #171), both examples fail. The details are on #171. Those failures need fixing before this closes.

  9. Bccorb commented on Nov 10, 2026

    @Bccorb
    ContributorAuthor

    Done. Both runnable examples are on main: the desktop app with its backend (#158) and the CLI (#160). Their CI now runs against the published API v0.23.0 and edge v0.4.1 images (#171, merged as c094f51), and both pass end to end: CLI, desktop. The weekly scheduled runs keep them honest.

    Running against the published images first turned up an edge v0.4.0 regression in native grant handling. It was fixed in fells-code/seamless-auth-oidc-provider#68 and released as edge v0.4.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1documentationv0.23

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions