Skip to main content
Version: 3.x

Auth Connect React

Auth Connect React - Installation | Ionic React Authentication

Installation

Let's start by installing the Ionic CLI and creating a react starter app:


_10
npm install -g @ionic/cli
_10
ionic start --type=react

Select the "tabs" starter template:

Ionic CLI Template Selection

If you have not already setup Ionic Enterprise in your app, follow the one-time setup steps.

Once Ionic Enterprise is set up, its time to install Auth Connect:


_10
npm install @ionic-enterprise/auth
_10
npx cap sync

A new tutorial is coming soon! Until then, check out the demo app source code for how to integrate Auth Connect with react: https://github.com/ionic-enterprise/tea-taster-react/tree/feature/auth-connect/src

Contents