Skip to content

feat: add Ember adapter package and E2E test app#32

Open
eugenioenko wants to merge 2 commits into
mainfrom
feat/ember-adapter
Open

feat: add Ember adapter package and E2E test app#32
eugenioenko wants to merge 2 commits into
mainfrom
feat/ember-adapter

Conversation

@eugenioenko
Copy link
Copy Markdown
Owner

Summary

  • Adds packages/ember/ (oidc-js-ember) with service + factory pattern
  • OidcService, createOidcService() factory, authenticatedRoute() helper
  • E2E test app at tests/e2e/ember-app/ with full data-testid contract
  • Playwright config and test script wired up

Test plan

  • pnpm --filter oidc-js-ember build passes
  • pnpm --filter e2e-tests test:ember passes
  • All shared E2E specs pass against Ember test app

🤖 Generated with Claude Code

Implements the Ember.js adapter (oidc-js-ember) with:
- OidcService: standalone service wrapping OidcClient with reactive state
- createOidcService: factory for creating Ember DI-compatible services with @Tracked
- authenticatedRoute: route protection helper for beforeModel hooks
- subscribe method for non-Ember reactive updates
- Full TSDoc comments on all exports

Adds E2E test app at tests/e2e/ember-app/ with all required data-testid
attributes matching the shared Playwright spec contract. Includes
playwright.ember.config.ts and test:ember script.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@eugenioenko eugenioenko force-pushed the feat/ember-adapter branch from 54c9df4 to 690dd25 Compare May 1, 2026 23:19
- Exclude ember-app and docs-web/.astro from eslint (CJS/generated files)
- Allow _-prefixed unused vars (standard convention for intentionally unused params)
- Remove unused imports in Vue, Lit, and Ember adapter types

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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