Serves the JWK Set for BAAS id_token verification. Part of the Nextendo Network stack.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Carlos Valdivia c889ff5cc5
baas-jwks: fix BAAS_KID default to nextendo-baas-key-1 (2124-3121) (#1)
Ryujinx-Nextendo ManagerServer.cs hardcodes kid=`nextendo-baas-key-1`
when signing id_tokens. The JWKS server default was `baas-key-1`,
so new-account id_token verification fetched the JWKS but found no
matching key → error 2124-3121 on every new Switch/Ryujinx login.

Change default to `nextendo-baas-key-1` so tools that rely on the
env-default (dev envs, prelude-server local variants, compose files)
just work out of the box.
2026-07-22 21:43:53 +02:00
.gitignore baas-jwks: initial source release 2026-07-22 00:25:23 +02:00
go.mod baas-jwks: initial source release 2026-07-22 00:25:23 +02:00
LICENSE.md baas-jwks: initial source release 2026-07-22 00:25:23 +02:00
main.go baas-jwks: fix BAAS_KID default to nextendo-baas-key-1 (2124-3121) (#1) 2026-07-22 21:43:53 +02:00
README.md baas-jwks: initial source release 2026-07-22 00:25:23 +02:00

baas-jwks

Serves the JWK Set that lets a client verify a BAAS id_token signature.

License Go


Part of the Nextendo Network stack. Some titles locally verify the account (BAAS) id_token before allowing online entry: they fetch the JSON Web Key Set from the token's jku URL and check the RS256 signature against the matching public key.

baas-jwks answers that fetch. It publishes the public JWK derived from the RSA key the client signs its id_token with (the kid matches the token header). It ships no private key — the signing key is supplied to the signer separately, at runtime. Every other path is logged and 404'd.

Configuration is through environment variables; no secrets or infrastructure addresses are baked in.

License

Released under the PolyForm Shield License 1.0.0 — source-available.