Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
dbb20f5
Migrate React oidc-client-ts example to Vite, React 19 and react-oidc…
Wictorgirardi Sep 24, 2026
7634c40
Migrate React oidc-spa example to Vite, React 19 and oidc-spa 10
Wictorgirardi Sep 24, 2026
54cd0cc
Rebuild oidc-spa tutorial starter on Vite and React 19
Wictorgirardi Sep 24, 2026
13ece2a
Migrate Vue example to Vite 8, vue-router 5 and oidc-client-ts 3
Wictorgirardi Sep 24, 2026
bdae943
Migrate Nuxt keycloak-js example to Nuxt 4 and keycloak-js 26
Wictorgirardi Sep 24, 2026
7d49015
Migrate Nuxt oidc-client-ts example to Nuxt 4, oidc-client-ts 3 and P…
Wictorgirardi Sep 24, 2026
8b57cb7
Use pnpm only and Node 24 in multitenant
Wictorgirardi Sep 24, 2026
2d95cdb
Apply pending Nx 22 migrations in multitenant
Wictorgirardi Sep 24, 2026
3c97711
Migrate multitenant to Nx 23.2
Wictorgirardi Sep 24, 2026
60b850e
Replace Jest with Vitest 4 in multitenant
Wictorgirardi Sep 24, 2026
3432968
Drop unused SWC packages from multitenant
Wictorgirardi Sep 24, 2026
c3e1828
Upgrade multitenant to React 19, Vite 8, TypeScript 6 and Tailwind 4
Wictorgirardi Sep 24, 2026
aba45b7
Regenerate the Organizations API client with OpenAPI Generator 7.25
Wictorgirardi Sep 24, 2026
792cb99
Rewrite multitenant apps with oidc-spa 10 and a shared Organizations …
Wictorgirardi Sep 24, 2026
e839322
Add Vitest tests for the multitenant apps and libs
Wictorgirardi Sep 24, 2026
109357a
Add root typecheck, lint, test, build and dev scripts to multitenant
Wictorgirardi Sep 24, 2026
dd3298c
Add CI workflow for multitenant
Wictorgirardi Sep 24, 2026
63446b9
Record the unneeded dependency build scripts for pnpm 10 in multitenant
Wictorgirardi Sep 24, 2026
3841d2a
Rewrite the multitenant README for the local Keycloak and Nx 23 works…
Wictorgirardi Sep 24, 2026
1791d4a
Migrate Angular example to Angular 22 and angular-oauth2-oidc 22
Wictorgirardi Sep 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
97 changes: 26 additions & 71 deletions .github/workflows/angular.yml
Original file line number Diff line number Diff line change
@@ -1,82 +1,37 @@
name: Deploy Angular Example
name: Angular (angular-oauth2-oidc)

env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_ANGULAR_PROJECT_ID }}
VERCEL_TOKEN: ${{ secrets.VERCEL_DEPLOYMENT_TOKEN }}
on:
push:
branches:
- main
branches: [main]
paths:
- "frameworks/angular/**"
- ".github/workflows/angular.yml"
pull_request:
branches:
- main
branches: [main]
paths:
- "frameworks/angular/**"
- ".github/workflows/angular.yml"
workflow_dispatch:

jobs:
deploy-preview:
if: github.event_name == 'pull_request' && github.repository == 'p2-inc/examples'
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v7

- name: Setup Node.js
uses: actions/setup-node@v7
with:
node-version: "20"

- name: Install dependencies
run: npm install
working-directory: ./frameworks/angular

- name: Install Vercel CLI
run: npm install -g vercel@latest

- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=preview --token=$VERCEL_TOKEN
working-directory: ./frameworks/angular

- name: Build Project Artifacts
run: vercel build --token=$VERCEL_TOKEN
working-directory: ./frameworks/angular

- name: Deploy Project Artifacts to Vercel
run: vercel deploy --prebuilt --token=$VERCEL_TOKEN
working-directory: ./frameworks/angular
permissions:
contents: read

deploy-prod:
if: github.event_name == 'push' && github.repository == 'p2-inc/examples'
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

steps:
- name: Checkout code
uses: actions/checkout@v7

- name: Setup Node.js
uses: actions/setup-node@v7
with:
node-version: "20"

- name: Install dependencies
run: npm install
working-directory: ./frameworks/angular

- name: Install Vercel CLI
run: npm install -g vercel@latest

- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=production --token=$VERCEL_TOKEN
working-directory: ./frameworks/angular

- name: Build Project Artifacts
run: vercel build --prod --token=$VERCEL_TOKEN
working-directory: ./frameworks/angular

- name: Deploy Project Artifacts to Vercel
run: vercel deploy --prebuilt --prod --token=$VERCEL_TOKEN
working-directory: ./frameworks/angular
jobs:
ci:
uses: ./.github/workflows/_node-ci.yml
with:
working-directory: frameworks/angular

deploy:
needs: ci
uses: ./.github/workflows/_vercel-deploy.yml
with:
working-directory: frameworks/angular
secrets:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_ANGULAR_PROJECT_ID }}
VERCEL_TOKEN: ${{ secrets.VERCEL_DEPLOYMENT_TOKEN }}
27 changes: 27 additions & 0 deletions .github/workflows/multitenant.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Multitenant (Nx)

on:
push:
branches: [main]
paths:
- "multitenant/**"
- ".github/workflows/multitenant.yml"
pull_request:
branches: [main]
paths:
- "multitenant/**"
- ".github/workflows/multitenant.yml"
workflow_dispatch:

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
ci:
uses: ./.github/workflows/_node-ci.yml
with:
working-directory: multitenant
98 changes: 27 additions & 71 deletions .github/workflows/nuxt-keycloakjs.yml
Original file line number Diff line number Diff line change
@@ -1,81 +1,37 @@
name: Deploy Nuxt keycloak-js Example
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_NUXT_KEYCLOAKJS_PROJECT_ID }}
VERCEL_TOKEN: ${{ secrets.VERCEL_DEPLOYMENT_TOKEN }}
name: Nuxt (keycloak-js)

on:
push:
branches:
- main
branches: [main]
paths:
- "frameworks/nuxt/keycloak-js/**"
- ".github/workflows/nuxt-keycloakjs.yml"
pull_request:
branches:
- main
branches: [main]
paths:
- "frameworks/nuxt/keycloak-js/**"
- ".github/workflows/nuxt-keycloakjs.yml"
workflow_dispatch:

jobs:
deploy-preview:
if: github.event_name == 'pull_request' && github.repository == 'p2-inc/examples'
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v7

- name: Setup Node.js
uses: actions/setup-node@v7
with:
node-version: "20"

- name: Install dependencies
run: npm install
working-directory: ./frameworks/nuxt/keycloak-js

- name: Install Vercel CLI
run: npm install -g vercel@latest

- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=preview --token=$VERCEL_TOKEN
working-directory: ./frameworks/nuxt/keycloak-js

- name: Build Project Artifacts
run: vercel build --token=$VERCEL_TOKEN
working-directory: ./frameworks/nuxt/keycloak-js
permissions:
contents: read

- name: Deploy Project Artifacts to Vercel
run: vercel deploy --prebuilt --token=$VERCEL_TOKEN
working-directory: ./frameworks/nuxt/keycloak-js
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

deploy-prod:
if: github.event_name == 'push' && github.repository == 'p2-inc/examples'
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v7

- name: Setup Node.js
uses: actions/setup-node@v7
with:
node-version: "20"

- name: Install dependencies
run: npm install
working-directory: ./frameworks/nuxt/keycloak-js

- name: Install Vercel CLI
run: npm install -g vercel@latest

- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=production --token=$VERCEL_TOKEN
working-directory: ./frameworks/nuxt/keycloak-js

- name: Build Project Artifacts
run: vercel build --prod --token=$VERCEL_TOKEN
working-directory: ./frameworks/nuxt/keycloak-js

- name: Deploy Project Artifacts to Vercel
run: vercel deploy --prebuilt --prod --token=$VERCEL_TOKEN
working-directory: ./frameworks/nuxt/keycloak-js
jobs:
ci:
uses: ./.github/workflows/_node-ci.yml
with:
working-directory: frameworks/nuxt/keycloak-js

deploy:
needs: ci
uses: ./.github/workflows/_vercel-deploy.yml
with:
working-directory: frameworks/nuxt/keycloak-js
secrets:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_NUXT_KEYCLOAKJS_PROJECT_ID }}
VERCEL_TOKEN: ${{ secrets.VERCEL_DEPLOYMENT_TOKEN }}
98 changes: 27 additions & 71 deletions .github/workflows/nuxt-oidc.yml
Original file line number Diff line number Diff line change
@@ -1,81 +1,37 @@
name: Deploy Nuxt oidc-client-ts Example
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_NUXT_OIDC_PROJECT_ID }}
VERCEL_TOKEN: ${{ secrets.VERCEL_DEPLOYMENT_TOKEN }}
name: Nuxt (oidc-client-ts)

on:
push:
branches:
- main
branches: [main]
paths:
- "frameworks/nuxt/oidc-client-ts/**"
- ".github/workflows/nuxt-oidc.yml"
pull_request:
branches:
- main
branches: [main]
paths:
- "frameworks/nuxt/oidc-client-ts/**"
- ".github/workflows/nuxt-oidc.yml"
workflow_dispatch:

jobs:
deploy-preview:
if: github.event_name == 'pull_request' && github.repository == 'p2-inc/examples'
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v7

- name: Setup Node.js
uses: actions/setup-node@v7
with:
node-version: "20"

- name: Install dependencies
run: npm install
working-directory: ./frameworks/nuxt/oidc-client-ts

- name: Install Vercel CLI
run: npm install -g vercel@latest

- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=preview --token=$VERCEL_TOKEN
working-directory: ./frameworks/nuxt/oidc-client-ts

- name: Build Project Artifacts
run: vercel build --token=$VERCEL_TOKEN
working-directory: ./frameworks/nuxt/oidc-client-ts
permissions:
contents: read

- name: Deploy Project Artifacts to Vercel
run: vercel deploy --prebuilt --token=$VERCEL_TOKEN
working-directory: ./frameworks/nuxt/oidc-client-ts
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

deploy-prod:
if: github.event_name == 'push' && github.repository == 'p2-inc/examples'
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v7

- name: Setup Node.js
uses: actions/setup-node@v7
with:
node-version: "20"

- name: Install dependencies
run: npm install
working-directory: ./frameworks/nuxt/oidc-client-ts

- name: Install Vercel CLI
run: npm install -g vercel@latest

- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=production --token=$VERCEL_TOKEN
working-directory: ./frameworks/nuxt/oidc-client-ts

- name: Build Project Artifacts
run: vercel build --prod --token=$VERCEL_TOKEN
working-directory: ./frameworks/nuxt/oidc-client-ts

- name: Deploy Project Artifacts to Vercel
run: vercel deploy --prebuilt --prod --token=$VERCEL_TOKEN
working-directory: ./frameworks/nuxt/oidc-client-ts
jobs:
ci:
uses: ./.github/workflows/_node-ci.yml
with:
working-directory: frameworks/nuxt/oidc-client-ts

deploy:
needs: ci
uses: ./.github/workflows/_vercel-deploy.yml
with:
working-directory: frameworks/nuxt/oidc-client-ts
secrets:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_NUXT_OIDC_PROJECT_ID }}
VERCEL_TOKEN: ${{ secrets.VERCEL_DEPLOYMENT_TOKEN }}
Loading
Loading