Assumptions
This guide assumes proficiency in web application development using Angular, Typescript and Node.js
Stack: Angular 14, bootstrap, font-awesome, rxjs, TypeScript and Node.js. See package.json for more information
Before you start
You will need to have signed up your organisation in Haventec Console 2.0.
Further, you will need to have created an application which you would like to authenticate with Haventec.
Finally, please review the following article before continuing: Sample Applications
Get Started
To get started, please clone or download the authenticate-ui-sdk workspace from the following public git repository:
https://github.com/Haventec/authenticate-ui-sdk
As part of this reference code-base, the authenticate-angular-sdk folder contains working code written in Angular, TypeScript and Node.js.
Refer to the README.md file for installation and configuration details.
Configure
Front-end project: Your front-end network service will require the application's provisioned applicationUuid value. You will find this in your application details within Console 2.0.
Assign this value to the APPLICATION_UUID constant in your application code. An example of this can be found in the application.constants.ts file of the reference projects, described below.
Server: Be sure to configure your local server in proxy.conf.json in the root of the the authenticate-angular-sdk folder. By default this is set to target the localhost port on which the authenticate-node-server instance will run. See authenticate-node-server for configuration details.
Identify your Use-Case
Within the projects subfolder, you will find reference implementations addressing various use-cases. These include:
- Haventec JWT (Direct Api Mode)
- Open ID with Haventec IAM
- Silent MFA (this can be enabled using Silent MFA settings)
You can find information about the various use-cases here: Step 1c: Which IAM Identity & Access Management Solution will you use?
Once you have determined the kind of work-flow you need to implement, locate the corresponding subfolder within the projects folder. Follow the installation instructions contained in the README.md page.
Projects
The following articles provide an overview of the reference projects provided for various use-cases.
In each case, please refer to the actual code pertaining to each resource mentioned for each project.
Project: Haventec JWT (Direct Api Mode)
Project: Open ID with Haventec IAM
Comments
0 comments
Please sign in to leave a comment.