fix(auth): add issuer to pre-registration context (#423)
This commit is contained in:
parent
c8dab0c3b4
commit
4ff474c20d
1 changed files with 50 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue