https://github.com/corbado/example-passkeys-angular
This is a sample repository of an Angular app with TypeScript that offers passkey authentication.
https://github.com/corbado/example-passkeys-angular
angular angularjs faceid fido2 passkey passkeys touchid typescript webauthn
Last synced: 3 months ago
JSON representation
This is a sample repository of an Angular app with TypeScript that offers passkey authentication.
- Host: GitHub
- URL: https://github.com/corbado/example-passkeys-angular
- Owner: corbado
- License: mit
- Created: 2023-07-05T16:23:17.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-08T13:27:38.000Z (about 1 year ago)
- Last Synced: 2025-04-10T22:17:38.998Z (3 months ago)
- Topics: angular, angularjs, faceid, fido2, passkey, passkeys, touchid, typescript, webauthn
- Language: TypeScript
- Homepage: https://www.corbado.com/passkeys/angular
- Size: 416 KB
- Stars: 14
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Complete passkeys integration example for Angular (TypeScript) with Corbado
This is a sample implementation of the Corbado web-js package being integrated into a web application built with Angular (TypeScript).
## File structure
- `src/app/app.module.ts`: acts as a boundary to load the Corbado project
- `src/app/app-routing.module.ts`: routing for the Angular web app
- `src/app/login`: component for the login screen
- `src/app/profile`: component for the user profile information that is shown after successful authentication## Setup
### Prerequisites
Please follow the steps in [Getting started](https://docs.corbado.com/overview/getting-started) to create and configure
a project in the [Corbado developer panel](https://app.corbado.com/signin#register).You need to have [Node](https://nodejs.org/en/download), [Angular CLI](https://angular.io/guide/setup-local#install-the-angular-cli) and `npm` installed to run it.
## Usage
Install Angular CLI:```bash
npm i -g @angular/cli
```Run
```bash
npm i
```to install all dependencies.
Finally, you can run the project locally with
```bash
ng serve
```