Skip to content

feat(auth): support JITA with Google authentication - #571

Open
sechmann wants to merge 5 commits into
mainfrom
jita-google-auth
Open

sechmann wants to merge 5 commits into
mainfrom
jita-google-auth

Conversation

@sechmann

Copy link
Copy Markdown
Contributor

Summary

Add Google JITA support by using the Google ID token and validating its user ID against the session. Update Go checks to default to the host OS and add a cross-platform check task.

Changes

  • Authentication: internal/apiserver/auth/auth_google.go validates JITA tokens; tests cover matching, mismatched, empty, and unparsable tokens.
  • Device agent: internal/deviceagent/config selects the Google login client for JITA; internal/deviceagent/deviceagent.go uses the ID token for Google and the access token for other providers.
  • Checks and toolchain: mise/tasks/check scripts default to the host OS; add check-cross for Linux, macOS, and Windows. Bump Go to 1.27.4.

@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

📝 Changelog preview

Below is a preview of the Changelog that will be added to the next release. Only commit messages that follow the Conventional Commits specification will be included in the Changelog.

v1.21.0 - 2026-11-13

Full Changelog: v1.20.0...v1.21.0

🚀 Features

  • Support JITA for google auth (8de82c9)
  • Reuse valid google login token for jita (6969164)

🐛 Bug Fixes

  • Allow wg to read config under apparmor for gateway-agent (8bcf374)
  • Allow wg to read config under apparmor for apiserver and prometheus-agent (c6b9803)
  • Re-authenticate when enrolling without tokens (0223077)
  • Redirect to jita page after google login (3f36155)

⚙️ Miscellaneous Changes

  • Make apiserver runnable locally on non-linux, disable bucket sync and otel (50d9798)

@sechmann
sechmann changed the base branch from main to build/default-checks-to-the-host-os November 11, 2026 14:29
@sechmann
sechmann added this pull request to stack #573 November 11, 2026 14:29
@sechmann
sechmann removed this pull request from stack #573 November 12, 2026 10:23
Base automatically changed from build/default-checks-to-the-host-os to main November 12, 2026 10:24

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant