halkyon/packages/halkyon_oidc_server/test/unit
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tizian 「ティツィアーン」 54c0b3f7b8
feat(oidc): a fake provider for hosts' tests (testing.dart)
The module's test provider moves into `package:halkyon_oidc_server/testing.dart`,
so a host tests its own sign-in against the module's real checks rather than
a copy: `TestKey` makes and publishes an RSA key and signs ID tokens with
headers written by hand (no `typ`, as SimpleLogin's), and `FakeProvider`
answers discovery, the keys and the token endpoint through an HTTP client
the host hands the module. `FakeProvider.simpleLogin` has SimpleLogin's
issuer and endpoints, without PKCE, as the preset expects; a test now signs
in through the preset end to end. pointycastle, already in the lock through
dart_jsonwebtoken, becomes a dependency for it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
2026-10-24 09:17:47 +02:00
..
callback_forwarding_test.dart feat(oidc): a Serverpod module for signing in with OpenID Connect, SimpleLogin a preset (ADR 0023) 2026-10-24 09:17:47 +02:00
id_token_test.dart feat(oidc): a fake provider for hosts' tests (testing.dart) 2026-10-24 09:17:47 +02:00
provider_keys_test.dart feat(oidc): a fake provider for hosts' tests (testing.dart) 2026-10-24 09:17:47 +02:00
provider_test.dart feat(oidc): a Serverpod module for signing in with OpenID Connect, SimpleLogin a preset (ADR 0023) 2026-10-24 09:17:47 +02:00