Angular

In this article, you can download samples for single-page applications that base on the Angular framework.

  • To get help on Angular, enter ng help or directly visit the Angular web pages.

  • To rebuild your application on file changes, enter ng serve with the required options.

In this article

Integrated user authentication

[Angular sample app - version 10.2.0.; 2020-12-29]

Single-page application (SPA) with integrated user authentication.

Prerequisites

  • Installed angular-oauth2-oidc npm package.

Features

  • Healthineers single-sign-on integration.

  • OIDC authorization flow with PKCE integration.

Customization and deployment

  • You can configure the localhost according to your needs. 

User instructions

  1. Unzip the downloaded zip file and save it on your local drive.

  2. Compile and run the application.

  3. Invoke the sample application from your local browser by entering the configured localhost address.

  4. Click on any of the protected pages. The application redirects you to the Healthineers login page.

  5. If you haven´t a  Siemens Healthineers account yet, directly register yourself from the Healthineers login page.

  6. Enter your valid Healthineers ID and password and login.
    You are successfully logged on to the application.