fix(auth): add issuer to pre-registration context (#423)

This commit is contained in:
Josh Abbott 2026-09-06 13:44:29 -04:00 • committed by GitHub
commit 4ff474c20d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -741,6 +741,10 @@ export async function runPreRegistration(serverUrl: string): Promise<void> {
redirect_uris: ['http://localhost:3000/callback']
});
// Associate the pre-registered credentials with the AS that issued them,
// keyed by its issuer (Authorization Server Binding).
provider.bindIssuer(ctx.issuer);
// Use the provider-based middleware
const oauthFetch = withOAuthRetryWithProvider(
provider,