[MPL-2] SSO interface for karideo, karusic, ...
Go to file
2023-01-08 12:22:43 +01:00
back [DEV] update back service to manage user creation 2023-01-08 12:16:24 +01:00
front [DEV] simplify password change 2023-01-08 12:22:43 +01:00
.gitignore [DEV] basic functionnal version without history 2023-01-04 22:18:15 +01:00
.project [DEV] basic functionnal version without history 2023-01-04 22:18:15 +01:00
docker-compose.yaml [DEV] basic functionnal version without history 2023-01-04 22:18:15 +01:00
Dockerfile [DEV] basic functionnal version without history 2023-01-04 22:18:15 +01:00
readme.md [DEV] basic functionnal version without history 2023-01-04 22:18:15 +01:00

Karauth

This repository manage 3 elements:

  • The SSO backend: jersey REST server
  • The SSO front-end: Angular login interface (KARSO)
  • The adminitrator of the SSO: Angular adminitration interface of the SSO (KARSO)

To build the docker image:

gitea.atria-soft.org/kangaroo-and-rabbit/karso:latest

MySql manage multiple users:

It is better to not use root user and mange user for each service.

Add a new user

CREATE USER 'karso'@'%' IDENTIFIED BY 'base_db_password';
GRANT ALL PRIVILEGES ON `karso`.* TO 'karso'@'%';
FLUSH PRIVILEGES;

Note

the base_db_password with the production password. this one is for development environment

To start the service

docker-compose up -d

Note: you can manage a single Docker interface to manage all the KAR engine

docker pull archlinux:base-devel docker pull bellsoft/liberica-openjdk-alpine:latest

docker build -t gitea.atria-soft.org/kangaroo-and-rabbit/karso:latest .

docker login gitea.atria-soft.org

docker push gitea.atria-soft.org/kangaroo-and-rabbit/karso:latest

npx playwright test Runs the end-to-end tests.

npx playwright test --project=firefox Runs the tests only on Desktop Chrome.

npx playwright test example Runs the tests in a specific file.

npx playwright test --debug Runs the tests in debug mode.

npx playwright codegen Auto generate tests with Codegen.

We suggest that you begin by typing:

npx playwright test