-
Notifications
You must be signed in to change notification settings - Fork 19
Add Angular and React examples #58
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
base: main
Are you sure you want to change the base?
Conversation
event.waitUntil(self.clients.claim()) | ||
}) | ||
|
||
self.addEventListener('message', async function (event) { |
Check warning
Code scanning / CodeQL
Missing origin verification in `postMessage` handler Medium
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is auto-generated by MSW and used for back-end mocking.
examples/web-eid-angular-example/src/mocks/handlers/auth.handlers.ts
Dismissed
Show dismissed
Hide dismissed
d85fb18
to
47cadd6
Compare
examples/web-eid-angular-example/src/mocks/handlers/auth.handlers.ts
Dismissed
Show dismissed
Hide dismissed
WE2-968 Signed-off-by: Tanel Metsar <[email protected]>
WE2-968 Signed-off-by: Tanel Metsar <[email protected]>
event.waitUntil(self.clients.claim()) | ||
}) | ||
|
||
self.addEventListener('message', async function (event) { |
Check warning
Code scanning / CodeQL
Missing origin verification in `postMessage` handler Medium
examples/web-eid-react-example/src/mocks/handlers/auth.handlers.ts
Dismissed
Show dismissed
Hide dismissed
examples/web-eid-react-example/src/mocks/handlers/auth.handlers.ts
Dismissed
Show dismissed
Hide dismissed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds comprehensive Angular and React example applications demonstrating Web eID library integration. Both examples include authentication flows, digital signing capabilities, and mock backend services for development and testing.
- Adds React example using Vite, TypeScript, and React Router with Web eID authentication and signing
- Adds Angular example using Angular 19 with TypeScript, demonstrating reactive patterns and service-based architecture
- Updates Jest configuration to exclude example directories from test runs
Reviewed Changes
Copilot reviewed 77 out of 86 changed files in this pull request and generated no comments.
File | Description |
---|---|
jest.config.mjs | Excludes examples directory from test execution |
examples/web-eid-react-example/* | Complete React example with components, hooks, state management, and MSW mocking |
examples/web-eid-angular-example/* | Complete Angular example with services, guards, components, and comprehensive test coverage |
WE2-968