An open API service indexing awesome lists of open source software.

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.

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
```