Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
c3c258d
feat: proof-of-concept authentication in workflows with authorization…
davehadley Dec 19, 2025
5f4f79d
feat(backend): add logout function and routes
Jan 28, 2026
524cd44
fix(charts): remove extra staging audience
TBThomas56 Apr 29, 2026
96f4833
feat(backend): fixed oidc-bff devcontainer
TBThomas56 Feb 18, 2026
71cc40f
fix(backend): removed duplicate code
TBThomas56 Mar 12, 2026
f7a31cb
fix(charts): remove secret duplication
davehadley Feb 2, 2026
1f0259f
feat(backend): auth-core scaffolding
TBThomas56 Mar 30, 2026
8ebfbec
feat(backend): auth-core oidc helpers
TBThomas56 Mar 30, 2026
b61a521
feat(backend): common database module
TBThomas56 Mar 30, 2026
b32b267
feat(backend): auth-core request helpers
TBThomas56 Mar 31, 2026
166acea
feat(backend): auth-core middleware creation
TBThomas56 Mar 31, 2026
9789e9b
fix(backend): modify oidc-bff to use auth-core
TBThomas56 Apr 10, 2026
bd54cc5
fix(backend): export libraries from auth-core to dependants
TBThomas56 Apr 10, 2026
f167640
fix(backend): modified auth-core inject token logic
TBThomas56 Apr 10, 2026
e9fac0d
fix(backend): modify auth-daemon to use auth-core logic
Apr 13, 2026
a525a26
fix: updated workspace Cargo.lock
Apr 13, 2026
63f7628
feat: add auth-core components to Dockerfiles
Apr 13, 2026
aa2f905
fix(backend): updated backend dependencies
TBThomas56 Apr 14, 2026
7cc979c
feat(charts): updated chart versions
TBThomas56 Apr 14, 2026
fea16a0
fix(charts): moved secret to secrets folder in workflows-cluster
TBThomas56 Apr 15, 2026
79527af
fix(backend): updated lockfile
TBThomas56 Apr 15, 2026
7c2ff33
feat(ci): add auth-package ci requirements
TBThomas56 Apr 22, 2026
9692d49
fix(backend): remove duplicates in toml files
TBThomas56 Apr 22, 2026
341054d
fix(backend): docstrings for graph-proxy and auth-core
TBThomas56 Apr 22, 2026
c94948d
feat(backend): added auth-core devcontainer
TBThomas56 Apr 22, 2026
44d3cd6
feat(ci): swap tag for auth-daemon to ensure different images for pro…
TBThomas56 Apr 22, 2026
9ac0a15
feat(backend): toggle for oidc-bff app features
TBThomas56 Apr 22, 2026
28a889b
feat: added license type to deny.toml
TBThomas56 Apr 23, 2026
651f445
feat: updated build Dockerfiles to incorporate auth-core
TBThomas56 Apr 23, 2026
ff38366
fix(charts): removed helper file due to deterministic password approach
TBThomas56 Apr 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 70 additions & 0 deletions .github/workflows/_auth_core_code.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: Auth Core Code

on:
workflow_call:

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v6

- name: Install stable toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1.15.4
with:
cache: false
components: clippy,rustfmt

- name: Cache Rust Build
uses: Swatinem/rust-cache@v2.9.1
with:
shared-key: backend/auth-core
workspaces: backend

- name: Check Formatting
working-directory: backend/auth-core
run: >
cargo fmt
--check

- name: Lint with Clippy
working-directory: backend/auth-core
run: >
cargo clippy
--all-targets
--all-features
--no-deps
--
--deny warnings

- name: Check Dependencies with Cargo Deny
uses: EmbarkStudios/cargo-deny-action@v2.0.15
with:
command: check licenses ban
manifest-path: backend/Cargo.toml

test:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v6

- name: Install stable toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1.15.4
with:
cache: false
components: rustfmt

- name: Cache Rust Build
uses: Swatinem/rust-cache@v2.9.1
with:
shared-key: backend/auth-core
workspaces: backend

- name: Run Tests
working-directory: backend/auth-core
run: >
cargo test
--all-targets
--all-features
2 changes: 1 addition & 1 deletion .github/workflows/_auth_daemon_container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
images: ${{ env.IMAGE_REPOSITORY }}
tags: |
type=raw,value=${{ steps.tags.outputs.version }}
type=raw,value=latest
type=raw,value=staging

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3.11.1
Expand Down
70 changes: 70 additions & 0 deletions .github/workflows/_oidc_bff_code.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: OIDC BFF Code

on:
workflow_call:

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v5

- name: Install stable toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1.15.2
with:
cache: false
components: clippy,rustfmt

- name: Cache Rust Build
uses: Swatinem/rust-cache@v2.8.1
with:
shared-key: backend/oidc-bff
workspaces: backend

- name: Check Formatting
working-directory: backend/oidc-bff
run: >
cargo fmt
--check

- name: Lint with Clippy
working-directory: backend/oidc-bff
run: >
cargo clippy
--all-targets
--all-features
--no-deps
--
--deny warnings

- name: Check Dependencies with Cargo Deny
uses: EmbarkStudios/cargo-deny-action@v2.0.13
with:
command: check licenses ban
manifest-path: backend/Cargo.toml

test:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v5

- name: Install stable toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1.15.2
with:
cache: false
components: rustfmt

- name: Cache Rust Build
uses: Swatinem/rust-cache@v2.8.1
with:
shared-key: backend/oidc-bff
workspaces: backend

- name: Run Tests
working-directory: backend/oidc-bff
run: >
cargo test
--all-targets
--all-features
53 changes: 53 additions & 0 deletions .github/workflows/_oidc_bff_container.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: OIDC BFF Container
on:
workflow_call:

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout Code
uses: actions/checkout@v5

- name: Generate Image Name
run: echo IMAGE_REPOSITORY=ghcr.io/$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]' | tr '[_]' '[\-]')-oidc-bff >> $GITHUB_ENV

- name: Log in to GitHub Docker Registry
if: github.event_name != 'pull_request'
uses: docker/login-action@v3.6.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract Version from Tag
id: tags
run: echo version=$(echo "${{ github.ref }}" | awk -F '[@v]' '{print $3}') >> $GITHUB_OUTPUT

- name: Docker Metadata
id: meta
uses: docker/metadata-action@v5.9.0
with:
images: ${{ env.IMAGE_REPOSITORY }}
tags: |
type=raw,value=${{ steps.tags.outputs.version }}
type=raw,value=latest

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3.11.1

- name: Build Image
uses: docker/build-push-action@v6.18.0
with:
context: backend
file: backend/Dockerfile.oidc-bff
target: deploy
push: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/oidc-bff@') }}
load: ${{ !(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/oidc-bff@')) }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
19 changes: 19 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,25 @@ jobs:
contents: read
packages: write

oidc_bff_code:
# Deduplicate jobs from pull requests and branch pushes within the same repo.
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
uses: ./.github/workflows/_oidc_bff_code.yaml

oidc_bff_container:
# Deduplicate jobs from pull requests and branch pushes within the same repo.
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
needs: oidc_bff_code
uses: ./.github/workflows/_oidc_bff_container.yaml
permissions:
contents: read
packages: write

auth_core_code:
# Deduplicate jobs from pull requests and branch pushes within the same repo.
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
uses: ./.github/workflows/_auth_core_code.yaml

supergraph_update:
# Deduplicate jobs from pull requests and branch pushes within the same repo.
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
Expand Down
Loading
Loading