Open TheTechArch opened 11 months ago
Today a pipeline demonstrated several features of the Frontend repo, including:
1) checkout of the entire repo to the Github Runner environment (set to ubuntu-22.04)
2) installing of Frontend dependencies (yarn packages) in a working-directory
3) the Cypress component tests were successfully run (yarn coverage)
4) and the Vite build configuration was tested by the yarn build command (works locally, works in pipeline), producing a javascript bundle along with other assets (see screenshots below): this build is a pre-requisite for the "wrapping" of the React app by the dotnet BFF app etc...
See frontend_build_and_cypress.yaml file for details.
This experimental pipeline is only triggered by a push to the cypress8 branch in order to limit noise.
Summary of Github Runner build process:
Summary of Cypress component tests:
Full Summary of pipeline run:
Description
Altinn Authentication Frontend will use the same pattern as Altinn Access Management Frontend. Meaning
The following epic describes the different tasks to set up the basic structure for this architecture.
Tasks should be separated into separate issues when started on.
In scope
Out of scope
Additional Information
We need to think about handling scenarios where the user is not authenticated. This component is where we will add authentication for methods not available in ID-porten. Like Self authenticated user. How should we handle routes where we have some URL that require that the user is authenticated and other routes that should work when user is not authenticated?
Architecture Recommendation
TODO
Recommended Project Setup
Set up a new solution called Altinn.Authentication.UI with the following projects
Where relevant, we should reuse integration code and API from Altinn.AccessManagment.UI
Database
Security
Infrastructure