internal frontend implementation with keycloak authentication #16

Merged
boom merged 20 commits from dev into production 2025-07-02 04:24:36 +02:00
Showing only changes of commit 2bd76aa6bb - Show all commits

View File

@@ -10,6 +10,7 @@ build_internal_frontend:
script:
- |
cd internal_frontend
echo "# environment file for internal_frontend" > .env
if [ "$CI_COMMIT_REF_NAME" = "production" ]; then
echo "NEXTAUTH_URL=$NEXTAUTH_URL_PROD" >> .env
echo "NEXTAUTH_SECRET=$NEXTAUTH_SECRET_PROD" >> .env
@@ -21,7 +22,7 @@ build_internal_frontend:
echo "KEYCLOAK_CLIENT_ID=$KEYCLOAK_CLIENT_ID_TEST" >> .env
echo "KEYCLOAK_CLIENT_SECRET=$KEYCLOAK_CLIENT_SECRET_TEST" >> .env
fi
echo "KEYCLOAK_ISSUER=$KEYCLOAK_ISSUER" > .env
echo "KEYCLOAK_ISSUER=$KEYCLOAK_ISSUER" >> .env
echo "Contents of .env file:"
cat .env
npm install